2023-05-28 17:49:23 -07:00
|
|
|
# Frontend Mentor - Product preview card component solution
|
|
|
|
|
2023-05-28 18:45:05 -07:00
|
|
|
This is a solution to
|
|
|
|
the [Product preview card component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/product-preview-card-component-GO7UmttRfa).
|
|
|
|
Frontend Mentor challenges help you improve your coding skills by building realistic projects.
|
2023-05-28 17:49:23 -07:00
|
|
|
|
|
|
|
## Table of contents
|
|
|
|
|
|
|
|
- [Overview](#overview)
|
2023-05-28 18:45:05 -07:00
|
|
|
- [The challenge](#the-challenge)
|
|
|
|
- [Screenshot](#screenshot)
|
|
|
|
- [Links](#links)
|
2023-05-28 17:49:23 -07:00
|
|
|
- [My process](#my-process)
|
2023-05-28 18:45:05 -07:00
|
|
|
- [Built with](#built-with)
|
|
|
|
- [What I learned](#what-i-learned)
|
|
|
|
- [Continued development](#continued-development)
|
|
|
|
- [Useful resources](#useful-resources)
|
2023-05-28 17:49:23 -07:00
|
|
|
- [Author](#author)
|
|
|
|
|
|
|
|
## Overview
|
|
|
|
|
|
|
|
### The challenge
|
|
|
|
|
|
|
|
Users should be able to:
|
|
|
|
|
|
|
|
- View the optimal layout depending on their device's screen size
|
|
|
|
- See hover and focus states for interactive elements
|
|
|
|
|
|
|
|
### Screenshot
|
|
|
|
|
|
|
|
![](./screenshot.jpg)
|
|
|
|
|
|
|
|
### Links
|
|
|
|
|
|
|
|
- Solution URL: [Add solution URL here](https://your-solution-url.com)
|
|
|
|
- Live Site URL: [Add live site URL here](https://your-live-site-url.com)
|
|
|
|
|
|
|
|
## My process
|
|
|
|
|
|
|
|
### Built with
|
|
|
|
|
2023-05-28 18:47:30 -07:00
|
|
|
- CSS/HTML
|
|
|
|
- Vite.js
|
2023-05-28 17:49:23 -07:00
|
|
|
|
|
|
|
### What I learned
|
|
|
|
|
2023-05-28 18:45:05 -07:00
|
|
|
Use this section to recap over some of your major learnings while working through this project.
|
|
|
|
Writing these out and providing code samples of areas you want to highlight is a great way to
|
|
|
|
reinforce your own knowledge.
|
2023-05-28 17:49:23 -07:00
|
|
|
|
|
|
|
To see how you can add code snippets, see below:
|
|
|
|
|
|
|
|
```html
|
|
|
|
<h1>Some HTML code I'm proud of</h1>
|
|
|
|
```
|
2023-05-28 18:45:05 -07:00
|
|
|
|
2023-05-28 17:49:23 -07:00
|
|
|
```css
|
|
|
|
.proud-of-this-css {
|
2023-05-28 18:45:05 -07:00
|
|
|
color: papayawhip;
|
2023-05-28 17:49:23 -07:00
|
|
|
}
|
|
|
|
```
|
2023-05-28 18:45:05 -07:00
|
|
|
|
2023-05-28 17:49:23 -07:00
|
|
|
```js
|
|
|
|
const proudOfThisFunc = () => {
|
|
|
|
console.log('🎉')
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2023-05-28 18:45:05 -07:00
|
|
|
If you want more help with writing markdown, we'd recommend checking
|
|
|
|
out [The Markdown Guide](https://www.markdownguide.org/) to learn more.
|
2023-05-28 17:49:23 -07:00
|
|
|
|
|
|
|
**Note: Delete this note and the content within this section and replace with your own learnings.**
|
|
|
|
|
|
|
|
### Continued development
|
|
|
|
|
2023-05-28 18:45:05 -07:00
|
|
|
Use this section to outline areas that you want to continue focusing on in future projects. These
|
|
|
|
could be concepts you're still not completely comfortable with or techniques you found useful that
|
|
|
|
you want to refine and perfect.
|
2023-05-28 17:49:23 -07:00
|
|
|
|
2023-05-28 18:45:05 -07:00
|
|
|
**Note: Delete this note and the content within this section and replace with your own plans for
|
|
|
|
continued development.**
|
2023-05-28 17:49:23 -07:00
|
|
|
|
|
|
|
### Useful resources
|
|
|
|
|
2023-05-28 18:45:05 -07:00
|
|
|
- [Example resource 1](https://www.example.com) - This helped me for XYZ reason. I really liked this
|
|
|
|
pattern and will use it going forward.
|
|
|
|
- [Example resource 2](https://www.example.com) - This is an amazing article which helped me finally
|
|
|
|
understand XYZ. I'd recommend it to anyone still learning this concept.
|
2023-05-28 17:49:23 -07:00
|
|
|
|
2023-05-28 18:45:05 -07:00
|
|
|
**Note: Delete this note and replace the list above with resources that helped you during the
|
|
|
|
challenge. These could come in handy for anyone viewing your solution or for yourself when you look
|
|
|
|
back on this project in the future.**
|
2023-05-28 17:49:23 -07:00
|
|
|
|
|
|
|
## Author
|
|
|
|
|
2023-05-28 18:47:30 -07:00
|
|
|
- Website - [Marley Rae](https://www.punkfairie.net)
|
|
|
|
- Frontend Mentor - [@punkfairie](https://www.frontendmentor.io/profile/punkfairie)
|
2023-05-28 17:49:23 -07:00
|
|
|
|
|
|
|
**Note: Delete this note and add/remove/edit lines above based on what links you'd like to share.**
|