Vanilla CSS responsive landing page with variables
Pierre's questions for the community
Here is my proposition for this challenge!
I tried using in-HTML media queries, I don't know if this is a best practice but I thought it would avoid loading unnecessary code when loading the website on mobile for example.
I also used CSS variables and built the grid with flexbox !
I'm open to every comment !
Give some feedback to pchatard about their solution
Join our Slack community
Join over 40,000 people taking the challenges, talking about their code, helping each other, and chatting about all things front-end!