Huddle landing page with curved sections master - html/css, js
Design comparison
Solution retrospective
Hi everyone,
this is my first challenge after one year. I didn't code whole year. This challenge took me quite long because i had to remmember what to do.
Now my questions:
-
Do I use media queries in right way? I am not sure if I should use min width instead of max width. I started with desktop version.
-
I had problem with if statments. When I wanted to set margin top on error message after submiting bad mail address(depends on screen size) I had to put window.innerWidth >= 1201 on the bottom of the statments. When I wanted to put it on top this statment didn't work and was set value from second statement. I dont know why.
Thank you for your time to check my solution.
L.
Community feedback
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