Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Simple card design using HTML & CSS

@Kelvin-Ariedi

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

The design was simple and fun to do

What challenges did you encounter, and how did you overcome them?

no challanges

Community feedback

Dmino228 90

@Dmino228

Posted

Great Work!

You can center a div horizontally and vertically by assigning this styles to their parent element:

display: flex;
align-items: center; /* vertically */
justify-content: center; /* horizontally */

or

display: grid;
place-items: center;

Marked as helpful

0
thamu-acn 200

@thamu-acn

Posted

Simple and straight forward, however I would suggest a separate css file to make styles more readable and adding 'alt' attribute on <img> for accessibility reasons

Marked as helpful

0

@Kelvin-Ariedi

Posted

@thamu-acn thanks for the suggestions already on it

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord