Hi guys!
Can someone say me why in this code, the alert doesn't work? https://pastebin.com/AaBZupzi
Read next

React Performance Optimization Tips
Harsh -

⚛️ I'm a professional React developer, and this is the directory structure I use for my production projects. ⚛️
Better Coding Academy -

Modern Sidebar Menu
Cornea Florin -

Node.js Express Login example with MongoDB
Tien Nguyen -
Discussion
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?
I put the link.
It might be that
prompt('Choose a username:');
returns truthfully always?