
Product Review Card Component with Svelte and Vite
Design comparison
Solution retrospective
Hello fellow web devs, This is my first try in the past 4 or 5 months, I wanted to start integrating my new dev skills such as Svelte used in this project, even though I didn't do any app structure or props passing to this component, but I wanted to start getting the hang of the tools available.
I found the the background-image CSS a little tricky to use, but I wanted to try something new for me. I think that I would have to use an inline style if I were to use it as part of the component in an app. How would you guys go about passing the images as props and still be able to change from the desktop to the mobile version of the image?
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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