No description
  • CSS 68.8%
  • HTML 31.2%
Find a file
2024-09-03 12:43:43 -07:00
assets Added font and setup some styling 2024-09-03 09:47:57 -07:00
design init 2024-09-02 11:34:49 -07:00
screenshots Added to readme 2024-09-03 12:21:26 -07:00
.gitignore init 2024-09-02 11:34:49 -07:00
index.html Added styling 2024-09-03 10:15:03 -07:00
README.md Added frontendmentor.io username 2024-09-03 12:22:16 -07:00
reset.css Added font and setup some styling 2024-09-03 09:47:57 -07:00
style-guide.md init 2024-09-02 11:34:49 -07:00
style.css Adjusted font source url 2024-09-03 12:43:43 -07:00

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

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

The challenge

Users should be able to:

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

Screenshot

Desktop Mobile

My process

Built with

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

What I learned

I learned more about how to use CSS Grid from this project. I mostly have used Flexbox in the past, but for this project, a combination seemed to work well. I went with a mobile-first approach, which was easy enough using Flexbox. Moving to the desktop design, however, was a hurdle for me. Without messing too much with the mobile layout, I figured it would be most effective to just change the display in my main to grid in a media query. This way my mobile layout can be left untouched while I can modify the desktop layout using grid properties.

It was consfusing at first, since I am still new to grid, but after doing a bunch of research and watching videos online, I figured out a layout that seems to work pretty well. I still have a lot to learn, though, it feels like.

Continued development

CSS Grid feels like a very powerful tool, and is one of the things I want to focus on learning and understanding more with these projects.

Author