@skipprrr
Posted
bro where is your website , its showing nothing , your server isn't online , your should check it
Marked as helpful
@skipprrr
Posted
bro where is your website , its showing nothing , your server isn't online , your should check it
Marked as helpful
@MelvinAguilar
Posted
Hi @shubham7522 👋, good job completing this challenge, and welcome to the Frontend Mentor Community! 🎉
Here are a few suggestions I've made that you can consider in the future if you're looking to improve the solution further.
The reason why it is not displayed is that you have a folder "qr-code-component-main" and inside is the solution.
Here are some other suggestions:
With semantic tags:
<body>
<main class="white-board">
. . .
</main>
<footer class="attribution">
. . .
</footer>
<body>
<br>
tag is not a semantic tag, so you should not use it. Also, if a screen-reader reads the text, it will break the flow of reading at the line break tag, so it should be used to add vertical spacing. There are only a few cases where it is necessary (for example, in a poem or an address), and it is possible to avoid them by applying padding and margin styles via CSS. More information here.<h1>
element is the main heading on a web page. There should only be one <h1>
tag per page, and always avoid skipping heading levels; Always start from <h1>
, followed by <h2>
, and so on up to <h6> (<h1>,<h2>,...,<h6>). The HTML Section Heading elements (Reference)Solution:
<h1>Improve your front-end skills by building projects</h1>
I hope those tips will help you.
Good job, and happy coding!
Marked as helpful
@PhoenixDev22
Posted
Hi Shubham Srivastava,
Excellent work! You have received some helpful feedback which is nice to see , just going to add some suggestions as well:
min-height: 100vh
for the <body>
add a little padding to the body that way it stops the card from hitting the edges of the browser. No need for the large margins or position:absolute. Also remove position: absolute from the rest elementwidth: 300px
an explicit width is not a good way to have responsive layout . Consider using max-width
to the card in rem
.height: 450px
It's not recommended to set fixed height to component, you almost never want to set it. let the content of the component define the height.Hopefully this feedback helps.
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