faced problem in responsiveness
Amelia Dutta
@amelia2802All comments
- @AhmadMujtaba200210Submitted almost 2 years ago@amelia2802Posted almost 2 years ago
- Replace
<h5>
with<h1>
. - Use
<section>
instead of div - In the stylesheet set
.qr
height auto and decrease the width. - add media queries for mobile devices (you can set max-width upto 600px) then adjust the style accordingly.
Hope this will help you :)
Happy Coding!π
0 - Replace
- @NicoloSuppaSubmitted almost 2 years ago@amelia2802Posted almost 2 years ago
Hey, Congratulations on completing your first challenge! π
Here are few suggestions to improve your project.
Replace the
<h2>
with<h1>
and<div>
with<section>
,<footer>
according to your code.Hope you find it helpful!
Happy Coding.π
0 - @ZeroScriptzSubmitted almost 2 years ago
Nothing difficult just, I did not want to make a separate CSS file so when trying to make a media query for large scale devices it would break.
Since I mastered the React.js, TailwindCSS, and more libraries. I will continue to use them just to make it easy and fast process!
Unsure of the media queries and locations.
No questions further!
@amelia2802Posted almost 2 years agoHi Zack, Congratulations on completing your first challenge! π
From your code, I can see that
- You've declared the card section
<section class="md">...</section>
outside of the<body>...</body>
tag. You should declare it inside of the body tag. - Add an
alt=" "
attribute to the<img>
as it will be helpful for screenreaders. - wrap that
.qrHead
andChallenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>
with<p>...</p>
tags as those aren't headings. - Add display:flex into the
.section{..}
.
Hope you find it helpful!
Happy Coding.π
Marked as helpful1 - You've declared the card section