Skip to content

Solution for the template_grid_section_challenge from Front-End Mentor

Notifications You must be signed in to change notification settings

munyite001/Template-Grid-Section-Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Testimonials grid section solution

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

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

Links

My process

Built with

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

What I learned

I have really learned a lot from this challenge. -First as always, it's always good to first analyze the design before anything else -Then work up the html requirements for the project before styling -Then when it comes to styling, it's always good to start with declaring the variables first before applying the styling.

I have also learned how to work effectively with css grid, to build out different layouts. Specifically the grid template areas

.testimonial-grid{
        grid-template-areas:
        "card1 card1 card2 card5"
        "card3 card4 card4 card5";
    }

They really make layouts easier.

I have also learned how to work with different css selectors i.e:

  • The nth child selectors
.testimonial-card:nth-child(1){
    grid-area: card1;
}
- The grandchild or anything else below selectors
.testimonial-card:nth-child(5) * .image{
    border: solid .2rem var(--dark-grayish-blue);
}

This selector especially helped me to select the border radius of each user image

Continued development

As always I want to continue improving on css positioning and css measurements. I will also continue practicing with css grid and flex box to improve on it

Author

Stay Frosty

About

Solution for the template_grid_section_challenge from Front-End Mentor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published