Design comparison
Solution retrospective
Hello fam!
There are some details that I would like to fix:
- The most obvious one is the broken email subscription link. I get that I need to reference the input (html) element on the js document, but I 'm totally lost on what to do next, like for example: how do I display the "card-subscription" part (css class) that contains the mobile success message meanwhile the other part (page) stays hidden?
I guess I started with the FrontEnd Mentor challenges because I really not want to spirral only on tutorials-passive behavior instead of grasping the concepts by coding.
I do apologize, because I get that I shouldn't seek for easy answers and solutions (specially when I really can't grasp the user activity part of the code), but I really do want to fix those details, so of course, any advices and suggestions are welcome.
Community feedback
- @InfanteAngelPosted 12 months ago
Hey man! Take a look at my code and notice how I use <a> Tags in order to reference a new link once the user clicks on the subscribe button. In order to link to another page you want to use something like this <a href="succes.html">Click To A New Page!</a>. The href link means that once you click on the <a> tags content it will redirect you to what ever hyperlink you created. In this case whatever code editor you are using, you might want 2 html files one for each page. Hope this helped, and don't hesitate to message me!
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