Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

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

Overview

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • Flexbox

What I learned

I learned how to adapt a Figma draft into a website. The most difficult thing about this project was trying to adapt elements as 'hug' or 'fill' just like in Figma. I found this solution after looking for tips on the internet:

display: flex;
width: min-content;

This code allows a container to adapt his width to the narrowest element (the QR code image in this situation).

Continued development

Next I want to learn more about storing colors in variables, because for this first project I wanted to do things with simplicity. I also already experimented SCSS but I don't remember a lot. So I need to take another look on it.

I also have some difficulties to understand Flexbox correctly, especially for creating adaptive containers. I will exercise again on Flexbox Froggy.

Useful resources

AI Collaboration

I used Gemini AI to get some help about adaptive elements because I couldn't find an effective solution on forums. Gemini couldn't understand me at first time but after giving more details and giving my code it helped me very well. Usually I use AI as another-hand solution. And I also don't copy code without understanding it properly.

Author

About

Submission of my solution for QR code component's challenge for Frontend Mentor

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages