Skip to content

VictorChao996/Frontend-Challenge_Testmonials_grid_section

Repository files navigation

[Frontend Mentor Challenge] Testimonials grid section solution

Table of contents


Overview

The challenge

Users should be able to:

  • View the optimal layout for the site depending on their device's screen size

Screenshot

  • Desktop Design
  • Mobile Design mobile device page

Links


My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow

What I learned

  1. CSS shorthand example(2 values)
  div{
    /* : top & bottom、right & left */
    padding: 5px 3px; 
    margin: 0 auto; /*easy way to center item in container*/
  }
  1. Response Web Design using mediaquery
  @media(min-width: 576px){
    /* some content here */
  }
  1. flexbox
  .itemContainer{
    display: flex;
    flex-direction: column;
  }
  .items{
    flex-basis: 25%;
  }
  1. Font settings
  • open google fonts
  • choose the fonts family and its weight
  • copy the and place it in the head of html document.
  • set the fonts by {font-family}

Useful resources

Author

Releases

No releases published

Packages

No packages published