JavaScript code in Replit fails to convert user input to lowercase using toLowerCase(), prompts are not recognized, and a new console message disrupts code readability

Hi @MUHAMMADHASS124 , welcome to the forums!
I can fix this issue:

In the .replit file, add this line at the top: run = “clear && node index.js
As for the other error, I have no idea why it is happening. Can you try using the old Node.js template instead of the Beta version?

1 Like