+ 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

15th May 2020, 2:37 PM
Danial Azadpour
Danial Azadpour - avatar
3 odpowiedzi
+ 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
15th May 2020, 2:42 PM
Sebastian Pacurar
Sebastian Pacurar - avatar
+ 3
https://code.sololearn.com/Whe1zoW4o9JZ/?ref=app ☝👆☝👆☝👆☝👆☝👆☝ Ur fix
15th May 2020, 2:49 PM
Abhay
Abhay - avatar
0
Make it best and make me frre
15th May 2020, 3:16 PM
Abhay
Abhay - avatar