fac18 / nikkin-react-game

See the project here:
https://nikkin-react-game.netlify.com/
0 stars 1 forks source link

404 error - button #41

Open renatadev opened 4 years ago

renatadev commented 4 years ago

When clicking in the button without inputing anything in the field we get a 404 error - it would be nice if you add an event listener to the button to prevent the default of the page and display an alert (or whatever you fancy) to the user so they enter a username (or a real one)