Mixed Messages - Create Script and run it locally step


I hope that you are all well. I am currently undertaking the Mixed Messages portfolio. I have pretty much completed it but I have seen that I need to run the script locally, I tried to do this in the terminal but when I do it, it appears with a message saying ReferenceError: document is not defined. I am unsure as to what that means in this context. Any help would be greatly appreciated.

Could you post your code here using the </> button?

Hello, thank you for replying but I have realised my mistake, I was under the impression that we had to make a website but it was actually just a program. Thanks anyway!