Skip to content

A responsive four card feature section page built with HTML and CSS and created as part of a Frontend Mentor challenge.

License

Notifications You must be signed in to change notification settings

CodingWithJiro/frontend-mentor-four-card-feature-section

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Four-Card Feature Section

HTML5 CSS3 Frontend Mentor Visual Studio Code Git GitHub Netlify PerfectPixel Image → Code Semantic HTML Accessible Responsive Layout Mobile First Dark Mode Google Lighthouse

Netlify Status Status Learning Path Views

A Clean and Responsive Four-Card Feature Section for an AI Company

Mobile Preview (375x812) Desktop Preview (1440x960)
Mobile Desktop
Mobile Desktop

A clean, accessible, and responsive layout that showcases four key features of an AI-driven company.

Created as part of the building challenges from Frontend Mentor.


Overview

This project presents a four-card layout showcasing key offerings of a fictional AI company. It features fully semantic HTML, responsive design for mobile and desktop, and thoughtful accessibility considerations.

Subtle hover transitions, dark mode support, and reduced motion preferences are integrated for a smoother and more inclusive experience. The project was coded to mirror the reference layout as closely as possible, using pixel-perfect alignment tools.


Features

  • Responsive 1-to-4 card layout using CSS Grid
  • Mobile-first design approach
  • Dark mode support using prefers-color-scheme
  • Reduced motion compliance using prefers-reduced-motion
  • Custom CSS variables and utility classes
  • Semantic HTML5 elements
  • Accessible skip link and ARIA attributes
  • Clean, maintainable code with comments and structure

What I Learned

  • Creating semantic, accessible HTML5 structure
  • Using ARIA labels and roles effectively
  • Implementing dark mode with media queries and variables
  • Respecting motion preferences with CSS media queries
  • CSS Grid layout with grid-template-areas
  • Utility class management (.sr-only, .container, etc.)
  • How to mirror JPEG image designs in code using tools like PerfectPixel

Tech Used

  • HTML5
  • CSS3
  • Git
  • GitHub
  • Netlify
  • PerfectPixel

How to Run

  1. Clone the repository
  2. Open index.html in your browser

Live Demo

Or you can check out the live website here


Performance Report

A Google Lighthouse audit was conducted on the final version of this project. You can view the full report here.


Author

Created by Elmar Chavez

Month/Year: June 2025

Journey: 3rd month of learning frontend web development.

About

A responsive four card feature section page built with HTML and CSS and created as part of a Frontend Mentor challenge.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published