DEV Community

loading...

Discussion on: JavaScript problem

Collapse
adam_cyclones profile image
Adam Crockett • Edited

Hi Andy, maybe you could share a link to the file instead? It hasn't come through so well on this post. Alternatively please wrap your code in backtick quotes?


 ` 3 of those quotes at the start of your code and 3 at the end
Collapse
andybullet profile image
AndyBullet Author

I put the link.

Collapse
adam_cyclones profile image
Adam Crockett • Edited

It might be that prompt('Choose a username:'); returns truthfully always?