This is a solution to the Product preview card component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Note: Delete this note and update the table of contents based on what sections you keep.
Users should be able to:
- View the optimal layout depending on their device's screen size
- See hover and focus states for interactive elements
- Solution URL: Add solution URL here
- Live Site URL: Add live site URL here
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
During the course of this challenge, i learnt a lot of things. Some of them are:
- how to center an element and an image properly
- how to use media queries (still learning that though)
- how to use JavaScript for interactivity. I wrote my first web JavaScript in this challenge
I wish to understand more of media queries and responsiveness. I'm also learning JavaScript now and I'll tackle challenges involving the language. CSS is not a comfortable zone yet but I'm working on that.
Thanks to Frontend mentor for this challenge. Kudos to freeCodeCamp and W3Schools... they helped me sort out a lot of things. Thanks to Marijn Haverbeke book, Eloquent JavaScript. Made me understand some obscure things in the little JavaScript knowledge i possess now. And thanks to everyone that will check out and give constructive criticisms on this code.