Interactive Card Details Form using HTML, CSS and JavaScript
Design comparison
Solution retrospective
Hey there Frontend Community!
I finished another solution today but I'm not truly proud of it yet since it was a struggle to get the CSS to look like the design.
I mainly struggled with getting the cards positions to change according to the size of the screen which created layout issues in the solution.
After a while of brute forcing and adding margin values here and there i managed to make it look okay on screens but I'm not truly proud of that part. I did lookup things but almost none of the resources helped with my situation.
I believe I'm going through the tutorial hell phase since I really couldn't understand what went wrong so I plan on going for simpler projects and try improve my CSS fundamentals and come back to this project.
Any resources that might help are appreciated which also includes Feedback!
Community feedback
- @AmrAbdelgwaadPosted 9 months ago
Hey Lahan
I did this project before and I did the mobile version only because it depends heavily on position: absolute: I've done a GURU challenge and the HTML and CSS of it were way easier than this challenge, you are already out of tutorial hell continue building projects and you will get better, I have a couple of comments for you in this project:
-
You shouldn't use IDs to style your elements click here to know more
-
Media query should be in ems or rems and do the mobile version first PX, EM or REM Media Queries?
keep it up and continue building projects cheers🎉
Marked as helpful0@lahanhelithPosted 9 months ago@AmrAbdelgwaad Thanks for the tips. Didn't really know that using IDs in CSS can be bad practice. And thanks for the clarification on the tutorial hell thing. For now, I plan on going back to the basics just to see if I have problems in the CSS fundamentals.
Good luck and Happy Coding!
1 -
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