
Solution retrospective
Hi!! I have added some basic JS to get some exercise in, if you have any comment on the JS part of it please do comment.
I did not want to force the user to get a name,age, location otherwise we would never see the default. However I have tried that and did not succeed, so question is:
How do I get a loop of prompts that keep asking to enter something until you do? Example: let's say you press ok without entering a name the prompt would not go away and say : "You must enter a name to access the page"
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on EDOARDO PITACCIO's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord