cpappas18 / news-homepage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Mentor - News Homepage

This is a solution to the News homepage challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

The challenge

Users should be able to:

  • View the optimal layout for the interface depending on their device's screen size
  • See hover and focus states for all interactive elements on the page

Screenshot

Desktop

Mobile

Mobile Menu

Built with

  • CSS Grid for overall layout
  • CSS Flexbox for individual components
  • React
  • SASS

What I learned

This project provided a great opportunity to practice using CSS Grid and grid template areas.

.App {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(3, auto);
    grid-template-areas: 
        "header header"
        "main new"
        "suggested suggested";
}

About


Languages

Language:JavaScript 46.8%Language:SCSS 41.2%Language:HTML 11.9%