Conditional Challenge coding quiz. I open the web link and no prompts.
Good afternoon! I went through the challenge and could not get it to run. No prompts appear, only blue screen. Watched video on how to solve and same problem. Still no prompts.
Thanks for any tips or pointers.
Code is linked in Git.hub to https://github.com/Aikitiger/Coding-challenges/commit/7b8e4915a2f29242f518ddcfc92ad4dbd196f7b9
Your issue is this:
const main = document.query('main');
It should be this:
const main = document.querySelector('main');
I found the error checking the Chrome devtools console, which said this:
Uncaught TypeError: document.query is not a function
I hope that helps.
Stay safe and happy coding!