QR code component

Solution retrospective
I'm glad to receive feedback 😀
Please log in to post a comment
Log in with GitHubCommunity feedback
- @correlucas
👾Hola Poncho!
Acabo de ver tu solución, amigo, y tengo algunos consejos para ti con respecto a la capacidad de respuesta de la imagen y el contenedor.
Para corregir la capacidad de respuesta del contenedor, debe reemplazar
width
conmax-width
para que el contenedor sea flexible, tenga en cuenta quewidth
es una medida fija y no permite que el contenedor crezca.Para hacer que la imagen coincida con el tamaño del contenedor, agregue
max-width: 100%
ydisplay: block
Aquí hay algunos cambios que hice para ti:
.component_container { MAX-WIDTH: 32rem; } img { display: block; max-width: 100%; }
Saludos desde Brasil!
Marked as helpful - @vanzasetia
Hi, Poncho Ramos! 👋
Nice work on this challenge! 🙌 Your solution is responsive and looks great! 👍
I agree with what @saifion33 has suggested. Every page should have one
h1
to allow the users to identify each page. But, since it is just a component, you can useh2
if you want. You can assume that it is a chunk or a part of a full website so theh1
might exist somewhere else.One suggestion I have is to improve the alternative text of the QR code. You can improve it by telling the users what the QR code is about. In this case, it is going to navigate the users to https://www.frontendmentor.io/. So, alternative text like "QR code to frontendmentor.io" is good enough.
That's it! I hope this helps! Keep up the good work! 👍
Marked as helpful - @saifion33
Hi poncho your solution in perfect .
If you want to improve here is some tips
Replace
<p class="bold">Improve your front-end skills by building projects</p>
with h1 tag<h1 class="bold">Improve your front-end skills by building projects</h1>
Happy Coding
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