Skip to content

mbdelarosa/3-column-preview-card-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - 3-column preview card component solution

This is a solution to the 3-column preview card component 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 depending on their device's screen size
  • See hover states for interactive elements

Screenshot

Links

My process

Built with

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

What I learned

Learnings from this challenge:

  • Getting used to writing BEM class names
  • Using the align-self: start property to stop the flex item from taking up the whole available width
    • Used on the SVG images and the Learn More buttons
  • Adding an aria-label on the anchor tags to describe the purpose of the Learn More links (from the WCAG 2.2 Techniques)

Useful resources

Author

About

Solution for the 3-column Preview Card Component challenge on Frontend Mentor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published