Hey there,
I worked on this tribute page last year, but after restarting freeCodeCamp from the beginning I’d love to hear everyone’s thoughts on it this time around. It’s now more responsive and I fixed a couple of issues I had missed last time.
https://codepen.io/joehcooper/full/BWQdQm/
As always, your feedback is welcomed.
Joe
Hi @camperextraordinaire,
Thanks for your feedback!
The placing media queries throughout the code is a habit I’ve picked up whilst working with SASS and how it usually compiles code when using functions for media queries.
I also find that it’s easier to work with, especially on larger code bases. I find that when there is one media query at the bottom of a file, you end up spending a lot of time scrolling up and down switching between the code for mobiles, and the code for larger screens.
Do you know of any performance benefits for only using one instance of a media query as oppose to multiple?
Thanks!