Taking on a Frontend Mentor challenge | Responsive Product Preview Card Component
Channel: Kevin Powell
Date: 2022-11-22

Today, I'm taking on a popular Frontend Mentor challenge. We'll look at doing everything from downloading the files to putting the challenge together with HTML & CSS, and finally putting it on GitHub and getting it online using Netlify.

🔗 Links
✅ The project I’m working on: https://www.frontendmentor.io/challenges/product-preview-card-component-GO7UmttRfa
✅ My finished code: https://github.com/kevin-powell/product-preview-card-component-main
✅ Live server extension: https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer
✅ How to use heading levels (h1 - h6): https://youtu.be/NexL5_Vdoq8
✅ Josh Comeau’s CSS reset: https://www.joshwcomeau.com/css/custom-css-reset/
✅ Custom Properties in-depth playlist: https://youtu.be/PHO6TBq_auI
✅ More on visually-hidden: https://www.scottohara.me/blog/2017/04/14/inclusively-hidden.html
✅ More on :is(): https://youtu.be/McC4QkCvbaY
✅ More on the picture element: https://youtu.be/Rik3gHT24AM

⌚ Timestamps
00:00 - Introduction
00:34 - What we’re starting with
02:18 - Setting things up
05:34 - Writing the HTML
16:30 - Responsive Mode
17:30 - CSS Reset
20:00 - Setting up the custom properties
23:33 - Getting the fonts
25:33 - General styling
28:54 - Styling the flex-group class
30:07 - Styling the product content
39:58 - The prices
44:56 - The button
50:28 - The button icon
54:50 - The desktop version
56:45 - Changes images with the picture element
59:15 - Fixing the layout at large sizes
1:01:52 - Putting our project online with GitHub and Netlify

#css

--

Come hang out with other dev's in my Discord Community
💬 https://discord.gg/nTYCvrK

Keep up to date with everything I'm up to
✉ https://www.kevinpowell.co/newsletter

Come hang out with me live every Monday on Twitch!
📺 https://www.twitch.tv/kevinpowellcss

---

Help support my channel
👨‍🎓 Get a course: https://www.kevinpowell.co/courses
👕 Buy a shirt: https://teespring.com/stores/making-the-internet-awesome
💖 Support me on Patreon: https://www.patreon.com/kevinpowell

---

My editor: VS Code - https://code.visualstudio.com/

---

I'm on some other places on the internet too!

If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.

Twitter: https://twitter.com/KevinJPowell
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevin-powell

---

And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!