@justinconnellSubmitted 11 months ago
I took a mobile first approach and decided to use CSS Grid for the layout - one ting that tripped me up was implementing the desktop version and trying to get the grid centered on the screen - to solve this I set the <main>
to 100vh and 100vw, which allowed me to set the margin on the grid to 'auto'.
I also tried using BEM - I'm still new to this so any feedback that will help me write cleaner code will be much appreciated.