New course! Every coder should learn Generative AI!
Try a free lesson- 1
Why my code doesn't work
3 Answers
+ 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