My First Javascript Project - A quiz
medcho (1053)

Thanks to @Zuhdi28 for his amazing Javascript tutorial. I wouldn't have been able to do this without it.

You are viewing a single comment. View All
AncientBison (57)

You dont have a <p> element that has the id="score"

medcho (1053)

What do you mean? I used  document.write("You got ", score, " out of 5") @AncientBison

AncientBison (57)

@medcho A tip that w3 says is never use document.write, It deletes all of your html. Look at this https://www.w3schools.com/js/js_htmldom_html.asp.

medcho (1053)

I didn’t write anything in my html file in the first place @AncientBison