+ 1
Why doesn't it display things properly?
Can anyone help me, I'm not sure why "Program", is not displayed the same way as the other things in the array. https://code.sololearn.com/WF48LfszDCeC/#html
3 Antworten
+ 3
document.write("<li>" + "<strong>" + toDo[a] + "</strong>" + "</li>")
you need to include the array element like this:
<li> <strong> array_element </strong> </li>
between the list item and strong tags. you don't need break row <br> tag unless you want a blank row between the list items
+ 3
https://code.sololearn.com/Whe1zoW4o9JZ/?ref=app
☝👆☝👆☝👆☝👆☝👆☝
Ur fix
0
Make it best and make me frre