Skip to content

A perfect first challenge if you're new to HTML and CSS. The card layout doesn't shift, so it's ideal if you haven't learned about building responsive layouts yet.

License

Notifications You must be signed in to change notification settings

IvanSerranoGit/QRCodeComponent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 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

Screenshot

img

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • React - JS library (comingsoon)

What I learned

In this section i learn use property place-items: center; a property GRID align items at center

    <main class="container">
        <section class="container_qr">
            <figure class="qr_container-img">
                <img class="qr_container-img-item" src="./images/image-qr-code.png" alt="qr-code">
            </figure>
            <div class="info_container">
                <h3 class="info_container-title">Improve your front-end
                    skills by building projects</h3>
                <p class="info_container-text">
                    Scan the QR code to visit Frontend
                    Mentor and take your coding skills to
                    the next level
                </p>
            </div>
        </section>
    </main>
main {
  background-color: var(--Light-bg);
  width: 100%;
  height: 100vh;
  display: grid;
  place-items: center;
}

Useful resources

  • Guide to FlexBox - Our comprehensive guide to CSS flexbox layout. This complete guide explains everything about flexbox, focusing on all the different possible properties for the parent element (the flex container) and the child elements (the flex items). It also includes history, demos, patterns, and a browser support chart.

  • Guide to Grid - Our comprehensive guide to CSS grid, focusing on all the settings both for the grid parent container and the grid child elements.

Author

About

A perfect first challenge if you're new to HTML and CSS. The card layout doesn't shift, so it's ideal if you haven't learned about building responsive layouts yet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published