<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
Prompt exercise
<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
I wrote a .js file included the prompt command. But I got a “ReferenceError: prompt is not defined” Error after running it using Node.js. Could you please tell me what causes this error? Or what library is needed.
```
The code is shown below:
prompt(“What’s your name?”);
Addendum
General Notes:
Always refresh the browser after making corrections:
CTRL f5 ( if on Windows or Linux)
CMD r ( if on a MAC).
CTRL 0 to reset browser zoom