Design comparison
Solution retrospective
Hi friends, decided to test my knowledge and practice some challenges. I learn CSS for two weeks now, so I don't know much. Had a couple quirks in the pricing sections. I used absolute position way, which I heard is a bad practice, but I couldn't figure out how to make it work the other way.
It was really fun, thank you for the challenge, I will proceed with the next one. If you have any suggestions on how to make this code better, you are welcome to do so. Cheers!
Community feedback
- @MartineauRemiPosted over 3 years ago
Hey ! Nice job, you did great :)
An alternative to absolute positioning could be using CSS Flexbox or CSS Grid. Both are very powerful and can help you build almost any layout you want. You can pick one and try to apply it in your project !
If you're interested and if you're not already familiar with it, here are two guides I found useful to learn both.
- Flexbox: https://css-tricks.com/snippets/css/a-guide-to-flexbox/
- Grid: https://css-tricks.com/snippets/css/complete-guide-grid/
Hope that will help you, Happy coding :)
1@skochdevPosted over 3 years ago@MartineauRemi Thank you, Remi. I'm not yet familiar with Flexbox or Grid, but it is on my list for sure. Thank you for the links and the reply!
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