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

QR Code Component

@halex-panama

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 specific areas of your project would you like help with?

Is there any way to make the heading and paragraph text looks exactly like the design?

Community feedback

Oshu 630

@oshudev

Posted

Hello there 👋. Good job on completing the challenge!

About your question, there is a way to make the heading and paragraph look exactly like the design. Try add a container to h1 and p tags. It looks something like this:

<div class="text-container">
        <h1>Improve your frontend skills by building projects</h1>
        <p>
          Scan the QR code to visit Frontend Mentor and take your coding skills
          to the next level.
        </p>
</div>

Then try adding inline padding to .text-container to push the text inward. Adjust it to your liking to achieve similar results.

I hope you find it useful! 😄

Happy coding!

Marked as helpful

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