22nd Sep 2021, 11:59 PM
EsaKurniawan
3 odpowiedzi
+ 2
Line 7: Use 'id' rather than 'class' attribute <section id="one"> Line 13: Remove = const newP = document.createElement('p'); Line 18: Add <newP> not <p> section.appendChild(newP);
23rd Sep 2021, 12:32 AM
Ipang
+ 1
Mistakes 1. document.createElement = ('p'); Equals to sign is not needed 2. it should be section.append(newP)
23rd Sep 2021, 2:35 AM
Pariket Thakur
Pariket Thakur - avatar
+ 1
Thanks all it's already work now
23rd Sep 2021, 2:38 AM
EsaKurniawan