Skip to content

Specifying grid-template-areas by named grid areas, establishing the cells in the grid and assigning them names.

Notifications You must be signed in to change notification settings

KristaCalleja/four-cards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Four card feature section solution

This is a solution to the Four card feature 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 app depending on their device's screen size

Links

My process

Built with

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

What I learned

I first started this project in August 2020 and I am finally submitting it 12 months later. My code has improve heaps. I am more confident with pseudo-class positions, as well as always opting for a mobile-first approach. Planning was of utmost importance in this project.

Continued development

When I first submitted my solution I still hadn't positioned the divs properly in the desktop design. With help from the FEM community it was suggested that I use grid-areas and after some reading I tried it out and it solved my problem.

Useful resources

Author

Acknowledgments

A member of the FEM slack community helped me figure out how to give separate colour borders to the divs. Thanks go to Emma-duru! Upon my first submission, Chamu from the Slack community helped me try out grid-areas to fix my grid. Worked like a charm! Thank you!

About

Specifying grid-template-areas by named grid areas, establishing the cells in the grid and assigning them names.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published