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 Component Project

@Krishna4563

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Asongafac 110

@Asongafac

Posted

just do as indicated above by @amar215

otherwise, you can use the img tag that is: <img src = " " alt = " " >

Marked as helpful

0

@Krishna4563

Posted

@Asongafac thank you for your input , now it is working

0

@amar215

Posted

Hello Krishna,

You forgot to add the images in your challenge.

do use picture tag of HTML.

`<picture>

<source media="(max-width: 768px)" srcset="small-image.jpg"> <source media="(min-width: 769px)" srcset="large-image.jpg"> <img src="fallback-image.jpg" alt="Example image"> </picture>`

this was you can show 2 images whenever size changes. this makes your project mobile friendly.

Marked as helpful

0

@Krishna4563

Posted

@amar215 thank you for the input , the error was in github repo ,now it is working

0

@amar215

Posted

@Krishna4563 Great! Happy Coding.

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