I’ve just completed the product landing page challenge. I created a landing page for gaming laptops. You can buy three specific models but also customize your own one, so you have the email input to request it with your own ideas.
Here’s the link: https://codepen.io/aitormorgado/pen/MWayXPy
I have two main doubts:
I don’t really know if I’ve used the
remproperty correctly in my code. After some research, I decided to write
font-size: 62.5%;as a root property and then
font-size: 1.6remin the body element, so 1rem equals 10px and it’s easy to measure.
I would like to know if the code for the responsiveness of my site is correct or enough: the media queries, using
vwand flexbox. Is there anything wrong that I should avoid in the future?
Thank you very much for your help!