Design comparison
Solution retrospective
Hi Everyone, I am new here, I am just curious about how you guys who are better than me in Front End Development find suitable size for any image? For example, In this QR code challenge, we have to give some value to Width and Height of the QR code, so how to find correct or more accurate size?
Community feedback
- @NehalSahu8055Posted over 1 year ago
Hello Coder 👋.
Congratulations on successfully completing the challenge! 🎉
I recommend you Figma or Sketch software for precise and accurate dimensions.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
If this comment helps you in anyway, hit thumbs up👍
Happy coding
0 - @0xabdulPosted over 1 year ago
Hi
Todaymore
we'll you successfully finished the QR code component . A Some suggestions for improve your code And I give the solution to clear the Accessibility all reportsSolution 📌
IN HTML📃 :
LANDMARK 🚀
The main landmark should be a top-level landmark. When a page contains nested document and/or application roles (e.g. typically through the use of iframe and frame elements), each document or application role may have one main landmark. If a page includes more than one main landmark, each should have a unique label. To Clear the Accessibility reports use the Semantic elements Or non - Semantic elements Note This Elements are don't sikp semantic elements :
<aside> , <artical> , <main>, <header> ,<section><footer>, <form>
ect.. non- semantic elements :<div> , <span>
ect ... for easy way to clear the Accessibility reports using non semantic elements Ex :<body> <div class="container" role="main"> /html code goes here : 📃 </div> </body>
OR
using semantic elements
Ex :
<header> should be put heading or logo📸 </header> <nav> //Links here </nav> <main> Main of the contents 📃 </main> <footer> ©copy right here📍 </footer>
HEADING ⚠️
- The page must contain at least one h1 element identifying and describing the main content of the page. An h1 heading provides an important navigation point for users of assistive technologies, allowing them to easily find the main content of the page.
- Usually the best practice is to start the main content of a web page with a level 1 heading (h1), with no other headings before this high-level heading. Mark the sub-sections of the page as level 2 headings (h2). If the level 2 sections contain sub-sections, mark these children as level 3 sections (h3) and so on. So fix them Ex :
<h1> </h1> <h2> </h2> <h3> </h3>
Note : we use the headings line by line in order way
IN CSS 🎨 :
- Your qr code component is not center aligning it shows top of the web page so fix that
Example :
body { display:grid; place-items:center; margin:0; height:100vh; }
🔻I Hope you find the solution and it's useful comment for you your QR code component project is Awesome Finnally Happy Coding Developer 😊🔺
0 - @Gerald-LeCourPosted over 1 year ago
Hey there! I was wondering this question too, I think that if you get the premium version of Frontend Mentor, then they will give you all the exact widths and heights of everything. Hope that answerd your question! :)
0@YagoCouttoPosted over 1 year ago@Gerald-LeCour Com a versão premium fica facil acertar os tamanho. No meu caso, eu utilizo o GIMP, tem uma régua de px dai consigo ter +/- uma base do tamanho.
0
Please log in to post a comment
Log in with GitHubJoin 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