Skip to content

This is a solution to the QR code component challenge on Frontend Mentor.

Notifications You must be signed in to change notification settings

TheRemyD/frontend-mentor-qr-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - QR code component solution

This is a solution to the QR code component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

This is a simple QR code card linking to Front-end Mentors

Screenshot

Desktop Mobile

Links

My process

  • Using BEM I identified containers and pieces for easy styling
  • I took advantage of custom CSS properties to make the card easy to update
  • I then started at the root element and built the card from the background out towards the user.

Built with

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

What I learned

This project was a project that I used in order to strengthen my grasp of semantic HTML, CSS, BEM Architecture, and Custom CSS Properties.

I learned that by using custom properties in css I can add an alpha channel to values, but only if the property that I am adding them to does not include the hsl() format. Instead it must be the values themself.

:root {
  --hsl-values: 218, 44%, 22%;
  --hsl: hsl(var(--hsl-values));
  --hsla: hsla(var(--hsl-values), 0.25)
}

Continued development

In the future I plan on incorporating SCSS into my design process to speed up my workflow.

Author

About

This is a solution to the QR code component challenge on Frontend Mentor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published