frontend mentor is cool
_nehal💎
@NehalSahu8055All comments
- @Maikl-kSubmitted about 1 year ago@NehalSahu8055Posted about 1 year ago
Hello Coder 👋
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
- To
dynamically center the card
. Don't usemargins
- USING FLEXBOX
body{ display: flex; justify-content: center; align-items: center; min-height: 100vh; ... }
-
Every site must have one h1 element describing the main content of the page.
-
So, Add a
level-one heading
-
<h1>Improve you frontend skills by building projects</h1>
-
Don't use multiple
<p>
for the single descritption use only one. -
Use Semantics for the proper design of your code.
<body> <main>... main content goes here ...</main> <footer>... .attribution div goes here ... </footer> </body>
-
For
non-decorative images
give meaningful and descriptive alt likealt= "QR code to frontend mentor website"
. -
Use
responsive units(rem, em, %)
from next project. Explore respective use cases on google.
I hope you find this helpful.
Happy coding😄
1 - To
- @heyannliSubmitted about 1 year ago@NehalSahu8055Posted about 1 year ago
Hello Coder 👋.
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
- Use Semantics for the proper design of your code.
<body> <main>... main content goes here ...</main> <footer>... .attribution div goes here ... </footer> </body>
- It would be better if you use source media for switching to screen sizes(mobile or desktop) for image.
<picture> <source media="(min-width:800px)" srcset="yourimage.jpg"> <img src="yourimage.jpg" alt="description"> </picture>
-
For
non-decorative images
give meaningful and descriptive alt likealt= "Gabrielle Chanel Perfume bottle surrounded by leaves."
. -
Use semantic element for strike-through
<s>$169.99</s>
-
If you want to dive into
accessibility
for this project check this link
I hope you find this helpful.
Happy coding😄
0 - @rachidnaitlahajSubmitted about 1 year ago
Feedbacks are welcomed
@NehalSahu8055Posted about 1 year agoHello Coder 👋.
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
- To
properly center the card
- USING FLEXBOX
body{ display: flex; justify-content: center; align-items: center; min-height: 100vh; ... }
- Use Semantics for the proper design of your code.
<body> <main>... main content goes here ...</main> <footer>... .attribution div goes here ... </footer> </body>
- It would be better if you use source media for switching to screen sizes(mobile or desktop) for image.
<picture> <source media="(min-width:800px)" srcset="yourimage.jpg"> <img src="yourimage.jpg" alt="description"> </picture>
-
For
non-decorative images
give meaningful and descriptive alt likealt= "Gabrielle Chanel Perfume bottle surrounded by leaves."
. -
Use semantic element for strike-through
<s>$169.99</s>
-
If you want to dive into
accessibility
for this project check this link
I hope you find this helpful.
Happy coding😄
Marked as helpful0 - To
- @Gean-JunioSubmitted about 1 year ago@NehalSahu8055Posted about 1 year ago
Hello Coder 👋
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
-
Every site must have one h1 element describing the main content of the page.
-
So, Add a
level-one heading
-
<h1>Improve you frontend skills by building projects</h1>
-
Use Semantics for the proper design of your code.
<body> <main>... main content goes here ...</main> <footer>... .attribution div goes here ... </footer> </body>
-
For
non-decorative images
give meaningful and descriptive alt likealt= "QR code to frontend mentor website"
. -
Use
responsive units(rem, em, %)
from next project. Explore respective use cases on google.
I hope you find this helpful.
Happy coding😄
Marked as helpful0 -
- @beowulf1958Submitted about 1 year agoWhat are you most proud of, and what would you do differently next time?
learning to use Sass variables
What challenges did you encounter, and how did you overcome them?I had a bit of trouble with centering the card at first; check on solutions to other challenges by other people and was able to finally get it centered
What specific areas of your project would you like help with?my h1 breaks the line differently than the design jpg
@NehalSahu8055Posted about 1 year agoHello Coder 👋
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
-
Use
min-height:100vh
instead ofheight:100vh
Todynamically center the card
-
For
non-decorative images
give meaningful and descriptive alt likealt= "QR code to frontend mentor website"
.
I hope you find this helpful.
Happy coding😄
Marked as helpful1 -
- @JesnerWSubmitted about 1 year ago@NehalSahu8055Posted about 1 year ago
Hello Coder 👋.
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
- It would be better if you use source media for switching to screen sizes(mobile or desktop) for image.
<picture> <source media="(min-width:800px)" srcset="yourimage.jpg"> <img src="yourimage.jpg" alt="description"> </picture>
-
For
non-decorative images
give meaningful and descriptive alt likealt= "Gabrielle Chanel Perfume bottle surrounded by leaves."
. -
Use semantic element for strike-through
<s>$169.99</s>
-
Use
<button></button>
for button as it a semantic element -
If you want to dive into
accessibility
for this project check this link
I hope you find this helpful.
Happy coding😄
Marked as helpful0 - @SarahCooper-TCSubmitted about 1 year ago
Can you use Display: block instead of Display: flex for this?
@NehalSahu8055Posted about 1 year agoHello Coder 👋
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
- Use
min-height:100vh
instead ofheight:100vh
Todynamically center the card
body{ display: flex; justify-content: center; align-items: center; min-height: 100vh; ... }
- Use Semantics for the proper design of your code.
<body> <main>... main content goes here ...</main> <footer>... .attribution div goes here ... </footer> </body>
-
For
non-decorative images
give meaningful and descriptive alt likealt= "QR code to frontend mentor website"
. -
Use
responsive units(rem, em, %)
from next project. Explore respective use cases on google.
I hope you find this helpful.
Happy coding😄
Marked as helpful1 - Use
- @syfe-hubSubmitted about 1 year ago
Easy as falling off a log :)
@NehalSahu8055Posted about 1 year agoHello Coder 👋
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
- To
dynamically center the card
usemin-height:100vh
instead ofheight:100vh
body{ display: flex; justify-content: center; align-items: center; min-height: 100vh; ... }
- Use Semantics for the proper design of your code.
<body> <main>... main content goes here ...</main> <footer>... .attribution div goes here ... </footer> </body>
-
For
non-decorative images
give meaningful and descriptive alt likealt= "QR code to frontend mentor website"
. -
Use
responsive units(rem, em, %)
from next project. Explore respective use cases on google.
I hope you find this helpful.
Happy coding😄
Marked as helpful0 - To
- @Raiquen248Submitted about 1 year ago
I waiting for more!
@NehalSahu8055Posted about 1 year agoHello Coder 👋
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
- Don't use
margins
to center the card, Todynamically center the card
- USING FLEXBOX
body{ display: flex; justify-content: center; align-items: center; min-height: 100vh; ... }
- Use Semantics for the proper design of your code.
<body> <main>... main content goes here ...</main> <footer>... .attribution div goes here ... </footer> </body>
- For
non-decorative images
give meaningful and descriptive alt likealt= "QR code to frontend mentor website"
.
I hope you find this helpful.
Happy coding😄
Marked as helpful0 - Don't use
- @YeniUvwoSubmitted about 1 year ago@NehalSahu8055Posted about 1 year ago
Hello Coder 👋
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
-
Don't use
paddings or margins
for centering the card as it will notdynamically center
the card remove this and use either flex or grid for the same -
To
properly center the card
-
USING FLEXBOX on the parent element
body{ display: flex; justify-content: center; align-items: center; min-height: 100vh; ... }
-
You are
wrapping main and footer
inside adiv
its unnecessary to do this. -
For
non-decorative images
give meaningful and descriptive alt likealt= "QR code to frontend mentor website"
. -
Use
responsive units(rem, em, %)
from next project. Explore respective use cases on google.
I hope you find this helpful.
Happy coding😄
Marked as helpful0 -
- @Official-NakulSubmitted about 1 year ago@NehalSahu8055Posted about 1 year ago
Hello Coder 👋
Congratulations on successfully completing the challenge! 🎉
Regarding your image issue
- Since you are using your site with
vite
your images will not work unless you put yourqr-image
insidepublic folder
- Tip : You can generate a new screenshot after making the necessary changes
I hope you find this helpful.
Happy coding😄
0 - Since you are using your site with
- @tushargola1Submitted about 1 year ago@NehalSahu8055Posted about 1 year ago
Hello Coder 👋
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
- To
dynamically center the card
- USING FLEXBOX
body{ display: flex; justify-content: center; align-items: center; min-height: 100vh; ... }
-
Every site must have one h1 element describing the main content of the page.
-
So, Add a
level-one heading
-
<h1>Improve you frontend skills by building projects</h1>
-
Use Semantics for the proper design of your code.
<body> <main>... main content goes here ...</main> <footer>... .attribution div goes here ... </footer> </body>
-
For
non-decorative images
give meaningful and descriptive alt likealt= "QR code to frontend mentor website"
. -
Use
responsive units(rem, em, %)
from next project. Explore respective use cases on google.
I hope you find this helpful.
Happy coding😄
0 - To