Design comparison
Solution retrospective
Well this is the first time i'm really using JavaScript to do something that seems like it could actually be useful and doesn't just seem like a neat little thing like others.
What challenges did you encounter, and how did you overcome them?Getting the href of the window to actually change was a bit diificult
What specific areas of your project would you like help with?I would just like an honest review from someone because even sometimes when my work looks good to me I still get the feeling that I am doing something wrong.
Community feedback
- @GustavoSouza123Posted 6 months ago
I would recommend you to set the action attribute of the <form> element to the file of the "thank you" page. This way, when the user submits the form, the browser redirects to the right page without you having to use any javascript to handle this.
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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