Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

product-review-page

thebigfatpaandaβ€’ 60

@thebigfatpaanda

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

i made it responsive that's the biggest achievement for me.

What challenges did you encounter, and how did you overcome them?

i encountered some problems in making it responsive but I did it anyways

What specific areas of your project would you like help with?

i require more help on responsiveness so that I can master it.

Community feedback

Daniel πŸ›Έβ€’ 44,230

@danielmrz-dev

Posted

Hello there!

Congrats on completing the challenge! βœ…

Your project looks great!

I have a suggestion about your code that might interest you:

πŸ“Œ You can use the <picture> tag when you have different versions of the same image.

Using the <picture> tag will help load the correct image to the user's device, saving bandwidth and improving performance.

Example:

<picture>
    <source media="(min-width: 768px)" srcset="{desktop image path here}">
    <img src="{mobile image path here}" alt="{alternative text here}">
</picture>

I hope this helps!

Other than that, excellent work!

Marked as helpful

0

thebigfatpaandaβ€’ 60

@thebigfatpaanda

Posted

@danielmrz-dev

Thankyou!!, that's new information for me.

0
Abdul Khaliq πŸš€β€’ 72,660

@0xabdulkhaliq

Posted

Hello there πŸ‘‹. Congratulations on successfully completing the challenge! πŸŽ‰

  • I have a suggestion regarding your code that I believe will be of great interest to you.

HTML 🏷️:

  • This solution contains some minor semantic mistakes which may cause accessibility issues
  • The <p id="p1">PERFUME</p>, must want to be changed to normal case like Perfume
  • It’s not great for screen readers, because uppercase text will be read out as individual letters (like abbreviations). So CSS is read as C.S.S. Just as PERFUME would be read as P.E.R.F.U.M.E, not as the word Perfume
  • You can read more about that in this article on Medium
  • Don't worry we can use text-transform: uppercase to transform the letter and letter-spacing: 1rem for the text Perfume
  • And another thing that the old price is not being properly announced, you have used p element for that (<p id="oldprice">$169.99</p>).
  • Actually there's a native html element which comes handy in these situations. it is del element
  • So you can use like this <del>$169.99</del>
  • These are the tips which improves the accessibility in real world situations.
  • If you have any questions or need further clarification, you can always check out my submission and/or feel free to reach out to me.

.

I hope you find this helpful πŸ˜„ Above all, the solution you submitted is great !

Happy coding!

Marked as helpful

0

thebigfatpaandaβ€’ 60

@thebigfatpaanda

Posted

@0xabdulkhalid

Thanks, man!!! , this will help me a lot for future projects.

0
Abdul Khaliq πŸš€β€’ 72,660

@0xabdulkhaliq

Posted

Hey @thebigfatpaanda, You're welcome Man! 🀠

0

Please log in to post a comment

Log in with GitHub
Discord logo

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