Can someone tell me what I'm doing wrong?

I attempted this project but my code keep failing FCC test

Here’s a screenshot of the code and the test results:

And here’s a codepen link to the code https://codepen.io/Bukki007/full/mdYJpzm and it works…

I think this is because the lesson is saving your JS as ‘script.js’ but you have it as ‘main.js’ in your HTML script tag

Oh, thanks, I forgot to change it, cos I wrote the code on my local editor before copying and pasting to FCC

1 Like