
Submitted almost 2 years ago
Responsive newsletter signup form with success message (HTML, CSS, JS)
@floatingPebble
Design comparison
SolutionDesign
Community feedback
- @0xabdulkhaliqPosted almost 2 years ago
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
- I have other recommendations regarding your code that I believe will be of great interest to you.
ISSUE AFTER SUBMITTING FORM 🔴 :
- The issue is with the
form
'saction="http://127.0.0.1:5500/success.html"
attribute.
- As you can see that the
success.html
is loaded from the localhost with5500
on port.
- But just think how could the github pages load this into the localhost ? so the success page will never work and it completely breaks the site.
- So please make sure to change the
action
attribute's value "http://127.0.0.1:5500/success.html"to "./success.html"
- Just stating the
./
infront ofsuccess.html
is enough to properly navigate to that document from the current document.
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
0
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