Why my code doesn't work | Sololearn: Learn to code for FREE!

-1

Why my code doesn't work

https://code.sololearn.com/WZfuN8u1NeEv/?ref=app

4/10/2021 6:09:53 AM

Zainul Khan

3 Answers

New Answer

+4

There should be: ... innerHTML = ...

+2

document.getElementById("showQuotes").innerHTML=myQuotes[ramdomNum]; The innerHTML html should be in capital letters

+1

JaScript Pratik Gupta thanks both