Cookie Consent by Free Privacy Policy Generator ๐Ÿ“Œ Frontend Mentor QR code challenge

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š Frontend Mentor QR code challenge


๐Ÿ’ก Newskategorie: Programmierung
๐Ÿ”— Quelle: dev.to

๐Ÿ’ก What will I learn?

If you have been to the Frontent Mentor website, you know that the first challenge you will have the opportunity of seeing on their website is the QR Code Component.

This challenge is great for beginner developers to show off their skills, or challenge themselves to learn something new.

QR code component solution image

So in this short blog, I will teach you how to get results like these in all of your future projects:

Solution to qrcode component in comparison to the design

And not only that, but I will also teach you tips and tricks about how to become the best developer that you can be by teaching you how to avoid some common mistakes I usually see on these projects, lets begin!

๐Ÿ’ป How to make the best solution?

To make the best solution to the problem, first and foremost, your solution has to match the design created as much as possible, but since you already know that, let me show you how.

I will be using Figma to demonstrate the entire process, and I encourage you to use it too, it is a popular design program that I use on my job to see everything I need to know about the designs given to me, and its completely free. It can be downloaded or used in a browser.

  1. Find the size of the design created

    Size of QRCode design

  2. Make your browser screen smaller, until it matches the size of the design

    Browser screen size made smaller

  3. Copy the screen of your browser (My preferred way is using ctrl + shift + s)

    Saving browser screen

  4. After copying the screen, paste the screenshot in Figma using ctrl + v

    Pasted image in Figma

  5. Give 50% transparency to your image

    Adding transparency

  6. Line up your solution perfectly to the design

    QRcode lined up

    As I have pointed out in the image above, all the differences between your solution, and the design are now very visible, and it becomes easier to spot and fix them, this makes for great web solutions, and is a part of the Frontend developer job.

This should help you create amazing solutions to all your future problems for the rest of your career :)

๐ŸŽ“ What are some things I should do or avoid to write clean code?

  1. Use CSS variables, CSS variables are your friend, and a real life-saver in larger projects

    So how can I add them? I hear you asking. Here is an example:

    :root {
        --primary-color: #D5E1EF;
        --title-color: #1F314F;
        --paragraph-color: #7D889E;
        --title-size: 1.375rem;
        --paragraph-size: 0.9375rem;
        --fonts: Outfit, Roboto, Arial;
    }
    

    To use CSS variables, you need to add them inside the var() function in CSS, here is how you can do that:

    .background-primary{
        background-color: var(--primary-color);
    }
    
  2. Don't add your styles trough style tags in your HTML file

    Adding Styles

    Your styles should always be added in .css files

    to link the css files to your html file, add this tag to your head tag:

    <link rel="stylesheet" href="./{name of file}">
    
  3. Use semantic HTML

    Semantic HTML is use of HTML tags that have a meaning, for example: , , ... there is a lot of different HTML tags, but for the QR Code Component, I would recommend use of only these 3:

    <main>
    <h1>
    <p>
    

    the entire card component should be in a <main> tag, because your main content is inside the card, and <h1> is for the title, while <p> is for the paragraph.

    Semantic HTML helps screen readers, and improves your website's SEO which helps more people find your website on the internet.

  4. Use rem instead of px for your font-size

    Using "rem" for font-size allows users to decide how big their text will be, in your browser settings, you are able to change the font and font-size of a standard text, if you use px instead of rem, the size of the font will stay unchanged for users that have made the size of the font smaller or bigger from its usual.

    font-size: 1.5rem;
    

๐ŸŒŸ Conclusion

Becoming a web developer is a process that takes a lot of time and effort to achieve, but if you want to achieve your goals quicker, I can help you further develop your skills in a lot less time, and give you amazing advice on how to get your first job, and start off your web development career! ๐Ÿš€

Contact me on Fiverr for cheap coding lessons and let the journey begin ๐Ÿค

...



๐Ÿ“Œ Frontend Mentor QR code challenge


๐Ÿ“ˆ 46.4 Punkte

๐Ÿ“Œ Frontend Mentor QR code challenge


๐Ÿ“ˆ 46.4 Punkte

๐Ÿ“Œ ๐ŸŽ‰๐ŸŽ‰ E-commerce product page in HTML, CSS and JavaScript - Frontend Mentor Challenge


๐Ÿ“ˆ 42.52 Punkte

๐Ÿ“Œ NFT Preview Card Component Challenge from Frontend Mentor


๐Ÿ“ˆ 42.52 Punkte

๐Ÿ“Œ Are you looking for a mentor in the InfoSec field? Are you willing to take someone under your wing and become a mentor?


๐Ÿ“ˆ 38.99 Punkte

๐Ÿ“Œ F.E.M (Frontend Mentor.io) Project: PhotoSnap Website


๐Ÿ“ˆ 32.98 Punkte

๐Ÿ“Œ Freeware Advanced Audio Coder 1.28 Frontend frontend/input.c wav_open_read WAV File denial of service


๐Ÿ“ˆ 26.96 Punkte

๐Ÿ“Œ heise+ | Web-Frontend mit Angular 2: Frontend mit Backend verknรผpfen


๐Ÿ“ˆ 26.96 Punkte

๐Ÿ“Œ Freeware Advanced Audio Coder 1.28 Frontend frontend/input.c wav_open_read WAV File Denial of Service


๐Ÿ“ˆ 26.96 Punkte

๐Ÿ“Œ Mentor-Organisationen fรผr Googles Summer of Code 2017 stehen fest


๐Ÿ“ˆ 23.37 Punkte

๐Ÿ“Œ Google Summer of Code 2013 Mentor Summit


๐Ÿ“ˆ 23.37 Punkte

๐Ÿ“Œ Google Summer of Code mentor projects sought


๐Ÿ“ˆ 23.37 Punkte

๐Ÿ“Œ Google Code-in: Become a Mentor!


๐Ÿ“ˆ 23.37 Punkte

๐Ÿ“Œ AI Mentor fรผr hรถhere Produtivitรคt und besseren Code


๐Ÿ“ˆ 23.37 Punkte

๐Ÿ“Œ History API - Frontend Challenge


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Frontend CSS Art Challenge- Orange Candy Ice Cream


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Join Us For The Next Frontend Challenge: Earth Day Edition!


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Frontend Challenge Dev Community


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Earth Day Frontend Challenge


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ The Frontend Challenge: Glammed Up Camp Activities


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Congrats to our Frontend Challenge Winners!


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ CSS Art 2024 Submission, Earth Day Edition Frontend Challenge


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Submission for Frontend Challenge Earth-Day-Edition: Earth's Rotation: Rotating with CSS on Earth Day


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Submission for Frontend Challenge Earth-Day-Edition: Elements of Earth: CSS Card animation


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Earth Day Frontend Challenge landing page


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Quick tips for Frontend Challenge


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Earth Day Frontend Challenge


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Earth Day Frontend Challenge


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Earth Day Frontend Challenge landing page: Hugging Earth


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Submission for Frontend Challenge Earth-Day-Edition: different elements of Earth: CSS Card animation


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ My FrontEnd Challenge project - Gallery page.


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Glam Up My Markup: Earth Day - Frontend Challenge Submission


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Earth Day Frontend Challenge: Our Little Blue Dot ๐ŸŒŽ


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ The Frontend Challenge v2: Earth Day Edition๐ŸŒŽ


๐Ÿ“ˆ 23.03 Punkte

๐Ÿ“Œ Frontend Challenge: Animated Globe CSS Art: Earth Day


๐Ÿ“ˆ 23.03 Punkte











matomo