Design comparison
Solution retrospective
The second page works on my local machine, but I don't know why I see the 404 error on the server. I wasn't able to figure out the javascript part of the second page. Help on that would be extremely appreciated.
Community feedback
- @ndroPosted over 2 years ago
Hi, 👏 congrats for completing the challenge
Maybe some function was not found. I can not find where the function
getSelection()
is.<a href= "/thankYou.html" onclick = "getSelection()" class = "submit">SUBMIT</a>
or there was another JS that didn't push to your repository, like
index2.js
. I saw it onindex.html
but the file wasn't there. Additionally, your page is not yet responsive.Everything is nice! 🤘
0@Viha123Posted over 2 years ago@ndro Hello, thank you you for your advice, I was able to fix the getSelection() and the index2.js problem. Now it should be working. It still isn't responsive yet though.
0@ndroPosted over 2 years ago@Viha123 Nice. If you want to be responsive, you can learn about
@media screen
https://www.w3schools.com/cssref/css3_pr_mediaquery.asp or you can fix your code withfixed size
, frommax-width: 25vw; min-height: 35vh;
to
width: 25vw; // or other size height: 35vh; // or other size
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