added base project files for remaining newbie challenges, place a placeholder image
|
@ -0,0 +1,16 @@
|
||||||
|
# Avoid accidental upload of the Sketch and Figma design files
|
||||||
|
#####################################################
|
||||||
|
## Please do not remove lines 5 and 6 - thanks! 🙂 ##
|
||||||
|
#####################################################
|
||||||
|
*.sketch
|
||||||
|
*.fig
|
||||||
|
|
||||||
|
# Avoid accidental XD upload if you convert the design file
|
||||||
|
###############################################
|
||||||
|
## Please do not remove line 12 - thanks! 🙂 ##
|
||||||
|
###############################################
|
||||||
|
*.xd
|
||||||
|
|
||||||
|
# Avoid your project being littered with annoying .DS_Store files!
|
||||||
|
.DS_Store
|
||||||
|
.prettierignore
|
|
@ -0,0 +1,111 @@
|
||||||
|
# Frontend Mentor - Equalizer landing page solution
|
||||||
|
|
||||||
|
This is a solution to the [Equalizer landing page challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/equalizer-landing-page-7VJ4gp3DE). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
|
||||||
|
|
||||||
|
## Table of contents
|
||||||
|
|
||||||
|
- [Overview](#overview)
|
||||||
|
- [The challenge](#the-challenge)
|
||||||
|
- [Screenshot](#screenshot)
|
||||||
|
- [Links](#links)
|
||||||
|
- [My process](#my-process)
|
||||||
|
- [Built with](#built-with)
|
||||||
|
- [What I learned](#what-i-learned)
|
||||||
|
- [Continued development](#continued-development)
|
||||||
|
- [Useful resources](#useful-resources)
|
||||||
|
- [Author](#author)
|
||||||
|
- [Acknowledgments](#acknowledgments)
|
||||||
|
|
||||||
|
**Note: Delete this note and update the table of contents based on what sections you keep.**
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
### The challenge
|
||||||
|
|
||||||
|
Users should be able to:
|
||||||
|
|
||||||
|
- View the optimal layout depending on their device's screen size
|
||||||
|
- See hover states for interactive elements
|
||||||
|
|
||||||
|
### Screenshot
|
||||||
|
|
||||||
|
![](./screenshot.jpg)
|
||||||
|
|
||||||
|
Add a screenshot of your solution. The easiest way to do this is to use Firefox to view your project, right-click the page and select "Take a Screenshot". You can choose either a full-height screenshot or a cropped one based on how long the page is. If it's very long, it might be best to crop it.
|
||||||
|
|
||||||
|
Alternatively, you can use a tool like [FireShot](https://getfireshot.com/) to take the screenshot. FireShot has a free option, so you don't need to purchase it.
|
||||||
|
|
||||||
|
Then crop/optimize/edit your image however you like, add it to your project, and update the file path in the image above.
|
||||||
|
|
||||||
|
**Note: Delete this note and the paragraphs above when you add your screenshot. If you prefer not to add a screenshot, feel free to remove this entire section.**
|
||||||
|
|
||||||
|
### 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
|
||||||
|
|
||||||
|
- Semantic HTML5 markup
|
||||||
|
- CSS custom properties
|
||||||
|
- Flexbox
|
||||||
|
- CSS Grid
|
||||||
|
- Mobile-first workflow
|
||||||
|
- [React](https://reactjs.org/) - JS library
|
||||||
|
- [Next.js](https://nextjs.org/) - React framework
|
||||||
|
- [Styled Components](https://styled-components.com/) - For styles
|
||||||
|
|
||||||
|
**Note: These are just examples. Delete this note and replace the list above with your own choices**
|
||||||
|
|
||||||
|
### What I learned
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
To see how you can add code snippets, see below:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<h1>Some HTML code I'm proud of</h1>
|
||||||
|
```
|
||||||
|
```css
|
||||||
|
.proud-of-this-css {
|
||||||
|
color: papayawhip;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
```js
|
||||||
|
const proudOfThisFunc = () => {
|
||||||
|
console.log('🎉')
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want more help with writing markdown, we'd recommend checking out [The Markdown Guide](https://www.markdownguide.org/) to learn more.
|
||||||
|
|
||||||
|
**Note: Delete this note and the content within this section and replace with your own learnings.**
|
||||||
|
|
||||||
|
### Continued development
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
**Note: Delete this note and the content within this section and replace with your own plans for continued development.**
|
||||||
|
|
||||||
|
### Useful resources
|
||||||
|
|
||||||
|
- [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.
|
||||||
|
|
||||||
|
**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.**
|
||||||
|
|
||||||
|
## Author
|
||||||
|
|
||||||
|
- Website - [Add your name here](https://www.your-site.com)
|
||||||
|
- Frontend Mentor - [@yourusername](https://www.frontendmentor.io/profile/yourusername)
|
||||||
|
- Twitter - [@yourusername](https://www.twitter.com/yourusername)
|
||||||
|
|
||||||
|
**Note: Delete this note and add/remove/edit lines above based on what links you'd like to share.**
|
||||||
|
|
||||||
|
## Acknowledgments
|
||||||
|
|
||||||
|
This is where you can give a hat tip to anyone who helped you out on this project. Perhaps you worked in a team or got some inspiration from someone else's solution. This is the perfect place to give them some credit.
|
||||||
|
|
||||||
|
**Note: Delete this note and edit this section's content as necessary. If you completed this challenge by yourself, feel free to delete this section entirely.**
|
|
@ -0,0 +1,88 @@
|
||||||
|
# Frontend Mentor - Equalizer landing page
|
||||||
|
|
||||||
|
![Design preview for the Equalizer landing page coding challenge](./preview.jpg)
|
||||||
|
|
||||||
|
## Welcome! 👋
|
||||||
|
|
||||||
|
Thanks for purchasing this premium Frontend Mentor coding challenge.
|
||||||
|
|
||||||
|
[Frontend Mentor](https://www.frontendmentor.io) challenges help you improve your coding skills by building realistic projects. These premium challenges are perfect portfolio pieces, so please feel free to use what you create in your portfolio to show others.
|
||||||
|
|
||||||
|
**To do this challenge, you need a good understanding of HTML and CSS.**
|
||||||
|
|
||||||
|
## The challenge
|
||||||
|
|
||||||
|
Your challenge is to build out this landing page and get it looking as close to the design as possible.
|
||||||
|
|
||||||
|
You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.
|
||||||
|
|
||||||
|
Your users should be able to:
|
||||||
|
|
||||||
|
- View the optimal layout depending on their device's screen size
|
||||||
|
- See hover states for interactive elements
|
||||||
|
|
||||||
|
Want some support on the challenge? [Join our Slack community](https://www.frontendmentor.io/slack) and ask questions in the **#help** channel.
|
||||||
|
|
||||||
|
## Where to find everything
|
||||||
|
|
||||||
|
Your task is to build out the project to the design file provided. We provide both Sketch and Figma versions of the design, so you can choose which tool you prefer to use. You can download the design file on the platform. **Please be sure not to share them with anyone else.** The design download comes with a `README.md` file as well to help you get set up.
|
||||||
|
|
||||||
|
All the required assets for this project are in the `/assets` folder. The assets are already exported for the correct screen size and optimized. Some images are reusable at multiple screen sizes. So if you don't see an image in a specific folder, it will typically be in another folder for that page.
|
||||||
|
|
||||||
|
The design system in the design file will give you more information about the various colors, fonts, and styles used in this project. Our fonts always come from [Google Fonts](https://fonts.google.com/).
|
||||||
|
|
||||||
|
## Building your project
|
||||||
|
|
||||||
|
Feel free to use any workflow that you feel comfortable with. Below is a suggested process, but do not feel like you need to follow these steps:
|
||||||
|
|
||||||
|
1. Separate the `starter-code` from the rest of this project and rename it to something meaningful for you. Initialize the codebase as a public repository on [GitHub](https://github.com/). Creating a repo will make it easier to share your code with the community if you need help. If you're not sure how to do this, [have a read-through of this Try Git resource](https://try.github.io/). **⚠️ IMPORTANT ⚠️: There are already a couple of `.gitignore` files in this project. Please do not remove them or change the content of the files. If you create a brand new project, please use the `.gitignore` files provided in your new codebase. This is to avoid the accidental upload of the design files to GitHub. With these premium challenges, please be sure not to share the design files in your GitHub repo. Thanks!**
|
||||||
|
2. Configure your repository to publish your code to a web address. This will also be useful if you need some help during a challenge as you can share the URL for your project with your repo URL. There are a number of ways to do this, and we provide some recommendations below.
|
||||||
|
3. Look through the designs to start planning out how you'll tackle the project. This step is crucial to help you think ahead for CSS classes to create reusable styles.
|
||||||
|
4. Before adding any styles, structure your content with HTML. Writing your HTML first can help focus your attention on creating well-structured content.
|
||||||
|
5. Write out the base styles for your project, including general content styles, such as `font-family` and `font-size`.
|
||||||
|
6. Start adding styles to the top of the page and work down. Only move on to the next section once you're happy you've completed the area you're working on.
|
||||||
|
|
||||||
|
## Deploying your project
|
||||||
|
|
||||||
|
As mentioned above, there are many ways to host your project for free. Our recommend hosts are:
|
||||||
|
|
||||||
|
- [GitHub Pages](https://pages.github.com/)
|
||||||
|
- [Vercel](https://vercel.com/)
|
||||||
|
- [Netlify](https://www.netlify.com/)
|
||||||
|
|
||||||
|
You can host your site using one of these solutions or any of our other trusted providers. [Read more about our recommended and trusted hosts](https://medium.com/frontend-mentor/frontend-mentor-trusted-hosting-providers-bf000dfebe).
|
||||||
|
|
||||||
|
## Create a custom `README.md`
|
||||||
|
|
||||||
|
We strongly recommend overwriting this `README.md` with a custom one. We've provided a template inside the [`README-template.md`](./README-template.md) file in this starter code.
|
||||||
|
|
||||||
|
The template provides a guide for what to add. A custom `README` will help you explain your project and reflect on your learnings. Please feel free to edit our template as much as you like.
|
||||||
|
|
||||||
|
Once you've added your information to the template, delete this file and rename the `README-template.md` file to `README.md`. That will make it show up as your repository's README file.
|
||||||
|
|
||||||
|
## Submitting your solution
|
||||||
|
|
||||||
|
Submit your solution on the platform for the rest of the community to see. Follow our ["Complete guide to submitting solutions"](https://medium.com/frontend-mentor/a-complete-guide-to-submitting-solutions-on-frontend-mentor-ac6384162248) for tips on how to do this.
|
||||||
|
|
||||||
|
Remember, if you're looking for feedback on your solution, be sure to ask questions when submitting it. The more specific and detailed you are with your questions, the higher the chance you'll get valuable feedback from the community.
|
||||||
|
|
||||||
|
**⚠️ IMPORTANT ⚠️: With these premium challenges, please be sure not to upload the design files to GitHub when you're submitting to the platform and sharing it around. If you've created a brand new project, the easiest way to do that is to copy across the `.gitignore` provided in this starter project.**
|
||||||
|
|
||||||
|
## Sharing your solution
|
||||||
|
|
||||||
|
There are multiple places you can share your solution:
|
||||||
|
|
||||||
|
1. Share your solution page in the **#finished-projects** channel of the [Slack community](https://www.frontendmentor.io/slack).
|
||||||
|
2. Tweet [@frontendmentor](https://twitter.com/frontendmentor) and mention **@frontendmentor**, including the repo and live URLs in the tweet. We'd love to take a look at what you've built and help share it around.
|
||||||
|
3. Share your solution on other social channels like LinkedIn.
|
||||||
|
4. Blog about your experience building your project. Writing about your workflow, technical choices, and talking through your code is a brilliant way to reinforce what you've learned. Great platforms to write on are [dev.to](https://dev.to/), [Hashnode](https://hashnode.com/), and [CodeNewbie](https://community.codenewbie.org/).
|
||||||
|
|
||||||
|
We provide templates to help you share your solution once you've submitted it on the platform. Please do edit them and include specific questions when you're looking for feedback.
|
||||||
|
|
||||||
|
The more specific you are with your questions the more likely it is that another member of the community will give you feedback.
|
||||||
|
|
||||||
|
## Got feedback for us?
|
||||||
|
|
||||||
|
We love receiving feedback! We're always looking to improve our challenges and our platform. So if you have anything you'd like to mention, please email hi[at]frontendmentor[dot]io.
|
||||||
|
|
||||||
|
**Have fun building!** 🚀
|
After Width: | Height: | Size: 100 KiB |
16
projects/FrontendMentor/newbie/equalizer-landing-page/starter-code/.gitignore
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Avoid accidental upload of the Sketch and Figma design files
|
||||||
|
#####################################################
|
||||||
|
## Please do not remove lines 5 and 6 - thanks! 🙂 ##
|
||||||
|
#####################################################
|
||||||
|
*.sketch
|
||||||
|
*.fig
|
||||||
|
|
||||||
|
# Avoid accidental XD upload if you convert the design file
|
||||||
|
###############################################
|
||||||
|
## Please do not remove line 12 - thanks! 🙂 ##
|
||||||
|
###############################################
|
||||||
|
*.xd
|
||||||
|
|
||||||
|
# Avoid your project being littered with annoying .DS_Store files!
|
||||||
|
.DS_Store
|
||||||
|
.prettierignore
|
After Width: | Height: | Size: 111 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 78 KiB |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="312" height="468" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M78 0c43.078 0 78 34.922 78 78v234h-56C44.772 312 0 267.228 0 212V78C0 34.922 34.922 0 78 0Z" fill="#66E2DC"/><path d="M156 312h78c43.078 0 78 34.922 78 78s-34.922 78-78 78-78-34.922-78-78v-78Z" fill="#191826"/><rect fill="#FFB964" x="234" y="78" width="78" height="78" rx="39"/><rect fill="#FA7453" x="234" width="78" height="78" rx="39"/><rect fill="#FA7453" y="312" width="156" height="156" rx="78"/><rect fill="#191826" x="156" width="78" height="156" rx="39"/><rect stroke="#191826" stroke-width="2" x="157" y="157" width="154" height="154" rx="77"/><rect stroke="#191826" stroke-width="2" x="157" y="196" width="76" height="76" rx="38"/></g></svg>
|
After Width: | Height: | Size: 762 B |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="312" height="468" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M234 78c43.078 0 78 34.922 78 78v156h-56c-55.228 0-100-44.772-100-100v-56c0-43.078 34.922-78 78-78Z" fill="#66E2DC"/><rect fill="#FCFAF9" x="78" y="78" width="78" height="78" rx="39"/><rect fill="#66E2DC" width="78" height="156" rx="39"/><rect fill="#FFB964" y="156" width="156" height="156" rx="78"/><g transform="translate(0 312)" stroke="#FCFAF9" stroke-width="2"><rect x="1" y="1" width="154" height="154" rx="77"/><rect x="40" y="79" width="76" height="76" rx="38"/></g></g></svg>
|
After Width: | Height: | Size: 594 B |
After Width: | Height: | Size: 1.0 KiB |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="17" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M13.362 6.638v8.35c0 .502-.334.836-.836.836h-.836v2.924c0 .669-.583 1.252-1.251 1.252-.67 0-1.252-.583-1.252-1.252v-2.924H7.515v2.924c0 .669-.583 1.252-1.252 1.252s-1.252-.583-1.252-1.252v-2.924h-.836c-.501 0-.836-.334-.836-.835v-8.35h10.023Zm2.088 0c.669 0 1.252.586 1.252 1.251v5.848c0 .668-.583 1.252-1.252 1.252s-1.252-.584-1.252-1.252V7.889c0-.665.583-1.25 1.252-1.25Zm-14.198 0c.669 0 1.252.586 1.252 1.251v5.848c0 .668-.583 1.252-1.252 1.252S0 14.405 0 13.737V7.889c0-.665.583-1.25 1.252-1.25ZM11.776.126a.4.4 0 0 1 .583 0 .401.401 0 0 1 0 .583l-1.085 1.084c.35.234.667.52.942.846.66.782 1.081 1.8 1.139 2.902l.002.034c.003.075.005.15.005.227H3.34c0-.076.002-.152.006-.227l.002-.034a4.908 4.908 0 0 1 1.138-2.902 4.52 4.52 0 0 1 .942-.846L4.343.71a.4.4 0 0 1 0-.583.4.4 0 0 1 .583 0l1.12 1.118.053.051c.664-.333 1.41-.499 2.24-.5h.024c.83.001 1.575.167 2.24.5l.052-.051ZM6.262 3.09a.626.626 0 1 0 0 1.252.626.626 0 0 0 0-1.252Zm4.178 0a.626.626 0 1 0 0 1.252.626.626 0 0 0 0-1.252Z" fill="#191826"/></svg>
|
After Width: | Height: | Size: 1.1 KiB |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="18" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M12.683 4.681c1.359 0 2.798.745 3.821 2.029-3.356 1.851-2.812 6.674.58 7.965-.467 1.04-.69 1.504-1.292 2.425-.839 1.285-2.02 2.886-3.486 2.897-1.302.014-1.637-.852-3.403-.842-1.766.009-2.134.857-3.437.845C4 19.987 2.88 18.542 2.042 17.257-.302 13.667-.549 9.45.897 7.207c1.029-1.592 2.651-2.523 4.175-2.523 1.551 0 2.527.856 3.812.856 1.247 0 2.005-.859 3.8-.859ZM12.291 0c.178 1.215-.315 2.405-.968 3.246-.697.904-1.901 1.603-3.066 1.566-.213-1.163.332-2.36.995-3.167C9.978.756 11.224.074 12.291 0Z" fill="#FCFAF9"/></svg>
|
After Width: | Height: | Size: 595 B |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M18.896 0H1.104C.494 0 0 .494 0 1.104v17.793C0 19.506.494 20 1.104 20h9.58v-7.745H8.076V9.237h2.606V7.01c0-2.583 1.578-3.99 3.883-3.99 1.104 0 2.052.082 2.329.119v2.7h-1.598c-1.254 0-1.496.597-1.496 1.47v1.928h2.989l-.39 3.018h-2.6V20h5.098c.608 0 1.102-.494 1.102-1.104V1.104C20 .494 19.506 0 18.896 0Z" fill="#191826"/></svg>
|
After Width: | Height: | Size: 399 B |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M10 1.802c2.67 0 2.987.01 4.042.059 2.71.123 3.975 1.409 4.099 4.099.048 1.054.057 1.37.057 4.04 0 2.672-.01 2.988-.057 4.042-.124 2.687-1.387 3.975-4.1 4.099-1.054.048-1.37.058-4.041.058-2.67 0-2.987-.01-4.04-.058-2.718-.124-3.977-1.416-4.1-4.1-.048-1.054-.058-1.37-.058-4.041 0-2.67.01-2.986.058-4.04.124-2.69 1.387-3.977 4.1-4.1 1.054-.048 1.37-.058 4.04-.058ZM10 0C7.284 0 6.944.012 5.877.06 2.246.227.227 2.242.061 5.877.01 6.944 0 7.284 0 10s.012 3.057.06 4.123c.167 3.632 2.182 5.65 5.817 5.817 1.067.048 1.407.06 4.123.06s3.057-.012 4.123-.06c3.629-.167 5.652-2.182 5.816-5.817.05-1.066.061-1.407.061-4.123s-.012-3.056-.06-4.122C19.777 2.249 17.76.228 14.124.06 13.057.01 12.716 0 10 0Zm0 4.865a5.135 5.135 0 1 0 0 10.27 5.135 5.135 0 0 0 0-10.27Zm0 8.468a3.333 3.333 0 1 1 0-6.666 3.333 3.333 0 0 1 0 6.666Zm5.338-9.87a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4Z" fill="#191826"/></svg>
|
After Width: | Height: | Size: 964 B |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="20" height="17" xmlns="http://www.w3.org/2000/svg"><path d="M20 2.172a8.192 8.192 0 0 1-2.357.646 4.11 4.11 0 0 0 1.805-2.27 8.22 8.22 0 0 1-2.606.996A4.096 4.096 0 0 0 13.847.248c-2.65 0-4.596 2.472-3.998 5.037A11.648 11.648 0 0 1 1.392 1a4.109 4.109 0 0 0 1.27 5.478 4.086 4.086 0 0 1-1.858-.513c-.045 1.9 1.318 3.679 3.291 4.075a4.113 4.113 0 0 1-1.853.07 4.106 4.106 0 0 0 3.833 2.849A8.25 8.25 0 0 1 0 14.658a11.616 11.616 0 0 0 6.29 1.843c7.618 0 11.923-6.434 11.663-12.205A8.354 8.354 0 0 0 20 2.172Z" fill="#191826"/></svg>
|
After Width: | Height: | Size: 543 B |
After Width: | Height: | Size: 22 KiB |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="147" height="33" xmlns="http://www.w3.org/2000/svg"><g fill="#191826"><path d="M2.84 18.992v-3.28h11.264l-.48.832v-.48c0-.608-.144-1.192-.432-1.752-.288-.56-.733-1.019-1.336-1.376-.603-.357-1.373-.536-2.312-.536-.939 0-1.747.2-2.424.6-.677.4-1.195.973-1.552 1.72s-.536 1.648-.536 2.704c0 1.088.173 2.019.52 2.792.347.773.864 1.368 1.552 1.784.688.416 1.544.624 2.568.624.661 0 1.232-.061 1.712-.184s.872-.28 1.176-.472c.304-.192.536-.405.696-.64.16-.235.256-.464.288-.688h4.896c-.064.715-.31 1.416-.736 2.104-.427.688-1.019 1.307-1.776 1.856-.757.55-1.677.984-2.76 1.304-1.083.32-2.317.48-3.704.48-1.877 0-3.515-.376-4.912-1.128-1.397-.752-2.48-1.792-3.248-3.12-.768-1.328-1.152-2.861-1.152-4.6 0-1.76.392-3.304 1.176-4.632.784-1.328 1.877-2.363 3.28-3.104 1.403-.741 3.027-1.112 4.872-1.112 1.888 0 3.52.376 4.896 1.128a7.878 7.878 0 0 1 3.184 3.152c.747 1.35 1.12 2.92 1.12 4.712 0 .267-.005.523-.016.768-.01.245-.027.427-.048.544H2.84Zm25.588 7.392c-1.42 0-2.726-.339-3.92-1.016-1.195-.677-2.155-1.683-2.88-3.016-.726-1.333-1.088-2.976-1.088-4.928 0-1.867.37-3.45 1.112-4.752.74-1.301 1.712-2.29 2.912-2.968a7.734 7.734 0 0 1 3.864-1.016c1.344 0 2.573.341 3.688 1.024 1.114.683 2.008 1.613 2.68 2.792.672 1.179 1.008 2.536 1.008 4.072v.304l-2.144.032v-.208c0-.8-.192-1.488-.576-2.064a3.938 3.938 0 0 0-1.488-1.336 4.09 4.09 0 0 0-1.904-.472c-1.1 0-2.048.365-2.848 1.096-.8.73-1.2 1.896-1.2 3.496s.402 2.776 1.208 3.528c.805.752 1.752 1.128 2.84 1.128.682 0 1.328-.163 1.936-.488a3.859 3.859 0 0 0 1.472-1.384c.373-.597.56-1.301.56-2.112l2.144.112c0 1.525-.328 2.904-.984 4.136-.656 1.232-1.542 2.213-2.656 2.944-1.115.73-2.36 1.096-3.736 1.096Zm5.232 6.608V9.008h4.976v23.984H33.66Zm14.355-6.672c-1.205 0-2.197-.195-2.976-.584-.779-.39-1.392-.915-1.84-1.576a6.381 6.381 0 0 1-.944-2.208 11.254 11.254 0 0 1-.272-2.464V9.008h4.96v9.168c0 .715.08 1.37.24 1.968.16.597.456 1.077.888 1.44s1.048.544 1.848.544c.779 0 1.44-.221 1.984-.664.544-.443.96-1.01 1.248-1.704a5.538 5.538 0 0 0 .432-2.144l1.392 1.136a8.842 8.842 0 0 1-.488 2.976 7.408 7.408 0 0 1-1.384 2.408 6.208 6.208 0 0 1-2.184 1.608c-.859.384-1.827.576-2.904.576Zm5.568-.32V9.008h4.96V26h-4.96Zm13.988.352c-1.238 0-2.339-.197-3.304-.592-.966-.395-1.72-.965-2.264-1.712-.544-.747-.816-1.653-.816-2.72 0-1.205.33-2.187.992-2.944.661-.757 1.538-1.336 2.632-1.736 1.093-.4 2.28-.664 3.56-.792 1.866-.181 3.154-.347 3.864-.496.709-.15 1.064-.41 1.064-.784v-.032c0-.63-.302-1.125-.904-1.488-.603-.363-1.443-.544-2.52-.544-1.142 0-2.014.205-2.616.616-.603.41-.904 1.037-.904 1.88h-4.88c0-1.365.37-2.517 1.112-3.456.741-.939 1.746-1.65 3.016-2.136 1.269-.485 2.704-.728 4.304-.728 1.493 0 2.874.227 4.144.68 1.269.453 2.29 1.133 3.064 2.04.773.907 1.16 2.059 1.16 3.456v7.344c0 .437.013.856.04 1.256.026.4.088.765.184 1.096.106.373.24.683.4.928.16.245.293.416.4.512h-4.88a3.403 3.403 0 0 1-.344-.464 3.622 3.622 0 0 1-.392-.816 6.578 6.578 0 0 1-.28-1.128 8.845 8.845 0 0 1-.088-1.336l1.024.704c-.299.704-.782 1.31-1.448 1.816-.667.507-1.456.896-2.368 1.168-.912.272-1.896.408-2.952.408Zm1.328-3.712c.778 0 1.506-.141 2.184-.424a3.752 3.752 0 0 0 1.656-1.336c.426-.608.64-1.403.64-2.384v-1.712l1.232 1.2a14.83 14.83 0 0 1-2.44.632c-.923.165-1.843.296-2.76.392-1.088.107-1.902.29-2.44.552-.539.261-.808.701-.808 1.32 0 .587.229 1.027.688 1.32.458.293 1.141.44 2.048.44ZM86.598.992V26h-4.896V.992zM89.914 26V9.008h4.912V26h-4.912Zm2.448-19.76c-.768 0-1.438-.203-2.008-.608-.57-.405-.856-.976-.856-1.712 0-.747.285-1.323.856-1.728.57-.405 1.24-.608 2.008-.608.778 0 1.453.203 2.024.608.57.405.856.981.856 1.728s-.286 1.32-.856 1.72c-.57.4-1.246.6-2.024.6ZM102.381 22.112h9.216V26H97.069v-3.68l8.992-9.616.112.176h-8.784V9.008h14.016v3.68l-8.912 9.584zM115.52 18.992v-3.28h11.265l-.48.832v-.48c0-.608-.144-1.192-.432-1.752-.288-.56-.733-1.019-1.336-1.376-.603-.357-1.373-.536-2.312-.536-.939 0-1.747.2-2.424.6-.677.4-1.195.973-1.552 1.72s-.536 1.648-.536 2.704c0 1.088.173 2.019.52 2.792.347.773.864 1.368 1.552 1.784.688.416 1.544.624 2.568.624.661 0 1.232-.061 1.712-.184s.872-.28 1.176-.472c.304-.192.536-.405.696-.64.16-.235.256-.464.288-.688h4.896c-.064.715-.31 1.416-.736 2.104-.427.688-1.019 1.307-1.776 1.856-.757.55-1.677.984-2.76 1.304-1.083.32-2.317.48-3.704.48-1.877 0-3.515-.376-4.912-1.128-1.397-.752-2.48-1.792-3.248-3.12-.768-1.328-1.152-2.861-1.152-4.6 0-1.76.392-3.304 1.176-4.632.784-1.328 1.877-2.363 3.28-3.104 1.403-.741 3.027-1.112 4.872-1.112 1.888 0 3.52.376 4.896 1.128a7.878 7.878 0 0 1 3.184 3.152c.747 1.35 1.12 2.92 1.12 4.712 0 .267-.005.523-.016.768-.01.245-.027.427-.048.544H115.52ZM134.005 26V9.008h4.976v5.856l-1.024-.64c.118-.8.331-1.536.64-2.208a6.08 6.08 0 0 1 1.2-1.752 5.21 5.21 0 0 1 1.752-1.16c.678-.277 1.454-.416 2.328-.416.683 0 1.22.05 1.608.152.39.101.632.179.728.232l-.816 4.448a5.322 5.322 0 0 0-.64-.256c-.33-.117-.757-.176-1.28-.176-.853 0-1.568.144-2.144.432a3.758 3.758 0 0 0-1.384 1.144c-.346.475-.594 1-.744 1.576a6.923 6.923 0 0 0-.224 1.744V26h-4.976Z"/></g></svg>
|
After Width: | Height: | Size: 4.9 KiB |
|
@ -0,0 +1,33 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon-32x32.png">
|
||||||
|
|
||||||
|
<title>Frontend Mentor | Equalizer landing page</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
We make your music sound extraordinary.
|
||||||
|
|
||||||
|
A system audio equalizer specifically designed for Android and iOS. Freely tune the
|
||||||
|
way your music sounds with a professional grade parametric EQ & volume mixer. Control
|
||||||
|
bass, mids, treble, gain control, reverb, and more!
|
||||||
|
|
||||||
|
Premium EQ
|
||||||
|
|
||||||
|
Get expert-level control with a robust equalizer, volume mixer, and spatial audio. Take
|
||||||
|
your listening experience to a whole new level and access all our incredible features!
|
||||||
|
|
||||||
|
$4 / month
|
||||||
|
|
||||||
|
iOS Download
|
||||||
|
Android Download
|
||||||
|
|
||||||
|
All rights reserved © Equalizer 2021
|
||||||
|
Have any problems? Contact us via social media or email us at equalizer@example.com
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Avoid accidental upload of the Sketch and Figma design files
|
||||||
|
#####################################################
|
||||||
|
## Please do not remove lines 5 and 6 - thanks! 🙂 ##
|
||||||
|
#####################################################
|
||||||
|
*.sketch
|
||||||
|
*.fig
|
||||||
|
|
||||||
|
# Avoid accidental XD upload if you convert the design file
|
||||||
|
###############################################
|
||||||
|
## Please do not remove line 12 - thanks! 🙂 ##
|
||||||
|
###############################################
|
||||||
|
*.xd
|
||||||
|
|
||||||
|
# Avoid your project being littered with annoying .DS_Store files!
|
||||||
|
.DS_Store
|
||||||
|
.prettierignore
|
|
@ -0,0 +1,113 @@
|
||||||
|
# Frontend Mentor - Interactive rating component solution
|
||||||
|
|
||||||
|
This is a solution to the [Interactive rating component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/interactive-rating-component-koxpeBUmI). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
|
||||||
|
|
||||||
|
## Table of contents
|
||||||
|
|
||||||
|
- [Overview](#overview)
|
||||||
|
- [The challenge](#the-challenge)
|
||||||
|
- [Screenshot](#screenshot)
|
||||||
|
- [Links](#links)
|
||||||
|
- [My process](#my-process)
|
||||||
|
- [Built with](#built-with)
|
||||||
|
- [What I learned](#what-i-learned)
|
||||||
|
- [Continued development](#continued-development)
|
||||||
|
- [Useful resources](#useful-resources)
|
||||||
|
- [Author](#author)
|
||||||
|
- [Acknowledgments](#acknowledgments)
|
||||||
|
|
||||||
|
**Note: Delete this note and update the table of contents based on what sections you keep.**
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
### The challenge
|
||||||
|
|
||||||
|
Users should be able to:
|
||||||
|
|
||||||
|
- View the optimal layout for the app depending on their device's screen size
|
||||||
|
- See hover states for all interactive elements on the page
|
||||||
|
- Select and submit a number rating
|
||||||
|
- See the "Thank you" card state after submitting a rating
|
||||||
|
|
||||||
|
### Screenshot
|
||||||
|
|
||||||
|
![](./screenshot.jpg)
|
||||||
|
|
||||||
|
Add a screenshot of your solution. The easiest way to do this is to use Firefox to view your project, right-click the page and select "Take a Screenshot". You can choose either a full-height screenshot or a cropped one based on how long the page is. If it's very long, it might be best to crop it.
|
||||||
|
|
||||||
|
Alternatively, you can use a tool like [FireShot](https://getfireshot.com/) to take the screenshot. FireShot has a free option, so you don't need to purchase it.
|
||||||
|
|
||||||
|
Then crop/optimize/edit your image however you like, add it to your project, and update the file path in the image above.
|
||||||
|
|
||||||
|
**Note: Delete this note and the paragraphs above when you add your screenshot. If you prefer not to add a screenshot, feel free to remove this entire section.**
|
||||||
|
|
||||||
|
### 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
|
||||||
|
|
||||||
|
- Semantic HTML5 markup
|
||||||
|
- CSS custom properties
|
||||||
|
- Flexbox
|
||||||
|
- CSS Grid
|
||||||
|
- Mobile-first workflow
|
||||||
|
- [React](https://reactjs.org/) - JS library
|
||||||
|
- [Next.js](https://nextjs.org/) - React framework
|
||||||
|
- [Styled Components](https://styled-components.com/) - For styles
|
||||||
|
|
||||||
|
**Note: These are just examples. Delete this note and replace the list above with your own choices**
|
||||||
|
|
||||||
|
### What I learned
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
To see how you can add code snippets, see below:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<h1>Some HTML code I'm proud of</h1>
|
||||||
|
```
|
||||||
|
```css
|
||||||
|
.proud-of-this-css {
|
||||||
|
color: papayawhip;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
```js
|
||||||
|
const proudOfThisFunc = () => {
|
||||||
|
console.log('🎉')
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want more help with writing markdown, we'd recommend checking out [The Markdown Guide](https://www.markdownguide.org/) to learn more.
|
||||||
|
|
||||||
|
**Note: Delete this note and the content within this section and replace with your own learnings.**
|
||||||
|
|
||||||
|
### Continued development
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
**Note: Delete this note and the content within this section and replace with your own plans for continued development.**
|
||||||
|
|
||||||
|
### Useful resources
|
||||||
|
|
||||||
|
- [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.
|
||||||
|
|
||||||
|
**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.**
|
||||||
|
|
||||||
|
## Author
|
||||||
|
|
||||||
|
- Website - [Add your name here](https://www.your-site.com)
|
||||||
|
- Frontend Mentor - [@yourusername](https://www.frontendmentor.io/profile/yourusername)
|
||||||
|
- Twitter - [@yourusername](https://www.twitter.com/yourusername)
|
||||||
|
|
||||||
|
**Note: Delete this note and add/remove/edit lines above based on what links you'd like to share.**
|
||||||
|
|
||||||
|
## Acknowledgments
|
||||||
|
|
||||||
|
This is where you can give a hat tip to anyone who helped you out on this project. Perhaps you worked in a team or got some inspiration from someone else's solution. This is the perfect place to give them some credit.
|
||||||
|
|
||||||
|
**Note: Delete this note and edit this section's content as necessary. If you completed this challenge by yourself, feel free to delete this section entirely.**
|
|
@ -0,0 +1,94 @@
|
||||||
|
# Frontend Mentor - Interactive rating component
|
||||||
|
|
||||||
|
![Design preview for the Interactive rating component coding challenge](./design/desktop-preview.jpg)
|
||||||
|
|
||||||
|
## Welcome! 👋
|
||||||
|
|
||||||
|
Thanks for checking out this front-end coding challenge.
|
||||||
|
|
||||||
|
[Frontend Mentor](https://www.frontendmentor.io) challenges help you improve your coding skills by building realistic projects.
|
||||||
|
|
||||||
|
**To do this challenge, you need a basic understanding of HTML, CSS and JavaScript.**
|
||||||
|
|
||||||
|
## The challenge
|
||||||
|
|
||||||
|
Your challenge is to build out this interactive rating component and get it looking as close to the design as possible.
|
||||||
|
|
||||||
|
You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.
|
||||||
|
|
||||||
|
Your users should be able to:
|
||||||
|
|
||||||
|
- View the optimal layout for the app depending on their device's screen size
|
||||||
|
- See hover states for all interactive elements on the page
|
||||||
|
- Select and submit a number rating
|
||||||
|
- See the "Thank you" card state after submitting a rating
|
||||||
|
|
||||||
|
Want some support on the challenge? [Join our Slack community](https://www.frontendmentor.io/slack) and ask questions in the **#help** channel.
|
||||||
|
|
||||||
|
## Where to find everything
|
||||||
|
|
||||||
|
Your task is to build out the project to the designs inside the `/design` folder. You will find both a mobile and a desktop version of the design.
|
||||||
|
|
||||||
|
The designs are in JPG static format. Using JPGs will mean that you'll need to use your best judgment for styles such as `font-size`, `padding` and `margin`.
|
||||||
|
|
||||||
|
If you would like the design files (we provide Sketch & Figma versions) to inspect the design in more detail, you can [subscribe as a PRO member](https://www.frontendmentor.io/pro).
|
||||||
|
|
||||||
|
You will find all the required assets in the `/images` folder. The assets are already optimized.
|
||||||
|
|
||||||
|
There is also a `style-guide.md` file containing the information you'll need, such as color palette and fonts.
|
||||||
|
|
||||||
|
## Building your project
|
||||||
|
|
||||||
|
Feel free to use any workflow that you feel comfortable with. Below is a suggested process, but do not feel like you need to follow these steps:
|
||||||
|
|
||||||
|
1. Initialize your project as a public repository on [GitHub](https://github.com/). Creating a repo will make it easier to share your code with the community if you need help. If you're not sure how to do this, [have a read-through of this Try Git resource](https://try.github.io/).
|
||||||
|
2. Configure your repository to publish your code to a web address. This will also be useful if you need some help during a challenge as you can share the URL for your project with your repo URL. There are a number of ways to do this, and we provide some recommendations below.
|
||||||
|
3. Look through the designs to start planning out how you'll tackle the project. This step is crucial to help you think ahead for CSS classes to create reusable styles.
|
||||||
|
4. Before adding any styles, structure your content with HTML. Writing your HTML first can help focus your attention on creating well-structured content.
|
||||||
|
5. Write out the base styles for your project, including general content styles, such as `font-family` and `font-size`.
|
||||||
|
6. Start adding styles to the top of the page and work down. Only move on to the next section once you're happy you've completed the area you're working on.
|
||||||
|
|
||||||
|
## Deploying your project
|
||||||
|
|
||||||
|
As mentioned above, there are many ways to host your project for free. Our recommend hosts are:
|
||||||
|
|
||||||
|
- [GitHub Pages](https://pages.github.com/)
|
||||||
|
- [Vercel](https://vercel.com/)
|
||||||
|
- [Netlify](https://www.netlify.com/)
|
||||||
|
|
||||||
|
You can host your site using one of these solutions or any of our other trusted providers. [Read more about our recommended and trusted hosts](https://medium.com/frontend-mentor/frontend-mentor-trusted-hosting-providers-bf000dfebe).
|
||||||
|
|
||||||
|
## Create a custom `README.md`
|
||||||
|
|
||||||
|
We strongly recommend overwriting this `README.md` with a custom one. We've provided a template inside the [`README-template.md`](./README-template.md) file in this starter code.
|
||||||
|
|
||||||
|
The template provides a guide for what to add. A custom `README` will help you explain your project and reflect on your learnings. Please feel free to edit our template as much as you like.
|
||||||
|
|
||||||
|
Once you've added your information to the template, delete this file and rename the `README-template.md` file to `README.md`. That will make it show up as your repository's README file.
|
||||||
|
|
||||||
|
## Submitting your solution
|
||||||
|
|
||||||
|
Submit your solution on the platform for the rest of the community to see. Follow our ["Complete guide to submitting solutions"](https://medium.com/frontend-mentor/a-complete-guide-to-submitting-solutions-on-frontend-mentor-ac6384162248) for tips on how to do this.
|
||||||
|
|
||||||
|
Remember, if you're looking for feedback on your solution, be sure to ask questions when submitting it. The more specific and detailed you are with your questions, the higher the chance you'll get valuable feedback from the community.
|
||||||
|
|
||||||
|
## Sharing your solution
|
||||||
|
|
||||||
|
There are multiple places you can share your solution:
|
||||||
|
|
||||||
|
1. Share your solution page in the **#finished-projects** channel of the [Slack community](https://www.frontendmentor.io/slack).
|
||||||
|
2. Tweet [@frontendmentor](https://twitter.com/frontendmentor) and mention **@frontendmentor**, including the repo and live URLs in the tweet. We'd love to take a look at what you've built and help share it around.
|
||||||
|
3. Share your solution on other social channels like LinkedIn.
|
||||||
|
4. Blog about your experience building your project. Writing about your workflow, technical choices, and talking through your code is a brilliant way to reinforce what you've learned. Great platforms to write on are [dev.to](https://dev.to/), [Hashnode](https://hashnode.com/), and [CodeNewbie](https://community.codenewbie.org/).
|
||||||
|
|
||||||
|
We provide templates to help you share your solution once you've submitted it on the platform. Please do edit them and include specific questions when you're looking for feedback.
|
||||||
|
|
||||||
|
The more specific you are with your questions the more likely it is that another member of the community will give you feedback.
|
||||||
|
|
||||||
|
## Got feedback for us?
|
||||||
|
|
||||||
|
We love receiving feedback! We're always looking to improve our challenges and our platform. So if you have anything you'd like to mention, please email hi[at]frontendmentor[dot]io.
|
||||||
|
|
||||||
|
This challenge is completely free. Please share it with anyone who will find it useful for practice.
|
||||||
|
|
||||||
|
**Have fun building!** 🚀
|
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 1.0 KiB |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="17" height="16" xmlns="http://www.w3.org/2000/svg"><path d="m9.067.43 1.99 4.031c.112.228.33.386.58.422l4.45.647a.772.772 0 0 1 .427 1.316l-3.22 3.138a.773.773 0 0 0-.222.683l.76 4.431a.772.772 0 0 1-1.12.813l-3.98-2.092a.773.773 0 0 0-.718 0l-3.98 2.092a.772.772 0 0 1-1.119-.813l.76-4.431a.77.77 0 0 0-.222-.683L.233 6.846A.772.772 0 0 1 .661 5.53l4.449-.647a.772.772 0 0 0 .58-.422L7.68.43a.774.774 0 0 1 1.387 0Z" fill="#FC7614"/></svg>
|
After Width: | Height: | Size: 452 B |
After Width: | Height: | Size: 8.0 KiB |
|
@ -0,0 +1,49 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
|
||||||
|
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
|
||||||
|
|
||||||
|
<title>Frontend Mentor | Interactive rating component</title>
|
||||||
|
|
||||||
|
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
|
||||||
|
<style>
|
||||||
|
.attribution { font-size: 11px; text-align: center; }
|
||||||
|
.attribution a { color: hsl(228, 45%, 44%); }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- Rating state start -->
|
||||||
|
|
||||||
|
How did we do?
|
||||||
|
|
||||||
|
Please let us know how we did with your support request. All feedback is appreciated
|
||||||
|
to help us improve our offering!
|
||||||
|
|
||||||
|
1 2 3 4 5
|
||||||
|
|
||||||
|
Submit
|
||||||
|
|
||||||
|
<!-- Rating state end -->
|
||||||
|
|
||||||
|
<!-- Thank you state start -->
|
||||||
|
|
||||||
|
You selected <!-- Add rating here --> out of 5
|
||||||
|
|
||||||
|
Thank you!
|
||||||
|
|
||||||
|
We appreciate you taking the time to give a rating. If you ever need more support,
|
||||||
|
don’t hesitate to get in touch!
|
||||||
|
|
||||||
|
<!-- Thank you state end -->
|
||||||
|
|
||||||
|
|
||||||
|
<div class="attribution">
|
||||||
|
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
|
||||||
|
Coded by <a href="#">Your Name Here</a>.
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,33 @@
|
||||||
|
# Front-end Style Guide
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
The designs were created to the following widths:
|
||||||
|
|
||||||
|
- Mobile: 375px
|
||||||
|
- Desktop: 1440px
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
### Primary
|
||||||
|
|
||||||
|
- Orange: hsl(25, 97%, 53%)
|
||||||
|
|
||||||
|
### Neutral
|
||||||
|
|
||||||
|
- White: hsl(0, 0%, 100%)
|
||||||
|
- Light Grey: hsl(217, 12%, 63%)
|
||||||
|
- Medium Grey: hsl(216, 12%, 54%)
|
||||||
|
- Dark Blue: hsl(213, 19%, 18%)
|
||||||
|
- Very Dark Blue: hsl(216, 12%, 8%)
|
||||||
|
|
||||||
|
## Typography
|
||||||
|
|
||||||
|
### Body Copy
|
||||||
|
|
||||||
|
- Font size (paragraph): 15px
|
||||||
|
|
||||||
|
### Font
|
||||||
|
|
||||||
|
- Family: [Overpass](https://fonts.google.com/specimen/Overpass)
|
||||||
|
- Weights: 400, 700
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Avoid accidental upload of the Sketch and Figma design files
|
||||||
|
#####################################################
|
||||||
|
## Please do not remove lines 5 and 6 - thanks! 🙂 ##
|
||||||
|
#####################################################
|
||||||
|
*.sketch
|
||||||
|
*.fig
|
||||||
|
|
||||||
|
# Avoid accidental XD upload if you convert the design file
|
||||||
|
###############################################
|
||||||
|
## Please do not remove line 12 - thanks! 🙂 ##
|
||||||
|
###############################################
|
||||||
|
*.xd
|
||||||
|
|
||||||
|
# Avoid your project being littered with annoying .DS_Store files!
|
||||||
|
.DS_Store
|
||||||
|
.prettierignore
|
|
@ -0,0 +1,111 @@
|
||||||
|
# Frontend Mentor - NFT preview card component solution
|
||||||
|
|
||||||
|
This is a solution to the [NFT preview card component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/nft-preview-card-component-SbdUL_w0U). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
|
||||||
|
|
||||||
|
## Table of contents
|
||||||
|
|
||||||
|
- [Overview](#overview)
|
||||||
|
- [The challenge](#the-challenge)
|
||||||
|
- [Screenshot](#screenshot)
|
||||||
|
- [Links](#links)
|
||||||
|
- [My process](#my-process)
|
||||||
|
- [Built with](#built-with)
|
||||||
|
- [What I learned](#what-i-learned)
|
||||||
|
- [Continued development](#continued-development)
|
||||||
|
- [Useful resources](#useful-resources)
|
||||||
|
- [Author](#author)
|
||||||
|
- [Acknowledgments](#acknowledgments)
|
||||||
|
|
||||||
|
**Note: Delete this note and update the table of contents based on what sections you keep.**
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
### The challenge
|
||||||
|
|
||||||
|
Users should be able to:
|
||||||
|
|
||||||
|
- View the optimal layout depending on their device's screen size
|
||||||
|
- See hover states for interactive elements
|
||||||
|
|
||||||
|
### Screenshot
|
||||||
|
|
||||||
|
![](./screenshot.jpg)
|
||||||
|
|
||||||
|
Add a screenshot of your solution. The easiest way to do this is to use Firefox to view your project, right-click the page and select "Take a Screenshot". You can choose either a full-height screenshot or a cropped one based on how long the page is. If it's very long, it might be best to crop it.
|
||||||
|
|
||||||
|
Alternatively, you can use a tool like [FireShot](https://getfireshot.com/) to take the screenshot. FireShot has a free option, so you don't need to purchase it.
|
||||||
|
|
||||||
|
Then crop/optimize/edit your image however you like, add it to your project, and update the file path in the image above.
|
||||||
|
|
||||||
|
**Note: Delete this note and the paragraphs above when you add your screenshot. If you prefer not to add a screenshot, feel free to remove this entire section.**
|
||||||
|
|
||||||
|
### 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
|
||||||
|
|
||||||
|
- Semantic HTML5 markup
|
||||||
|
- CSS custom properties
|
||||||
|
- Flexbox
|
||||||
|
- CSS Grid
|
||||||
|
- Mobile-first workflow
|
||||||
|
- [React](https://reactjs.org/) - JS library
|
||||||
|
- [Next.js](https://nextjs.org/) - React framework
|
||||||
|
- [Styled Components](https://styled-components.com/) - For styles
|
||||||
|
|
||||||
|
**Note: These are just examples. Delete this note and replace the list above with your own choices**
|
||||||
|
|
||||||
|
### What I learned
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
To see how you can add code snippets, see below:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<h1>Some HTML code I'm proud of</h1>
|
||||||
|
```
|
||||||
|
```css
|
||||||
|
.proud-of-this-css {
|
||||||
|
color: papayawhip;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
```js
|
||||||
|
const proudOfThisFunc = () => {
|
||||||
|
console.log('🎉')
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want more help with writing markdown, we'd recommend checking out [The Markdown Guide](https://www.markdownguide.org/) to learn more.
|
||||||
|
|
||||||
|
**Note: Delete this note and the content within this section and replace with your own learnings.**
|
||||||
|
|
||||||
|
### Continued development
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
**Note: Delete this note and the content within this section and replace with your own plans for continued development.**
|
||||||
|
|
||||||
|
### Useful resources
|
||||||
|
|
||||||
|
- [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.
|
||||||
|
|
||||||
|
**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.**
|
||||||
|
|
||||||
|
## Author
|
||||||
|
|
||||||
|
- Website - [Add your name here](https://www.your-site.com)
|
||||||
|
- Frontend Mentor - [@yourusername](https://www.frontendmentor.io/profile/yourusername)
|
||||||
|
- Twitter - [@yourusername](https://www.twitter.com/yourusername)
|
||||||
|
|
||||||
|
**Note: Delete this note and add/remove/edit lines above based on what links you'd like to share.**
|
||||||
|
|
||||||
|
## Acknowledgments
|
||||||
|
|
||||||
|
This is where you can give a hat tip to anyone who helped you out on this project. Perhaps you worked in a team or got some inspiration from someone else's solution. This is the perfect place to give them some credit.
|
||||||
|
|
||||||
|
**Note: Delete this note and edit this section's content as necessary. If you completed this challenge by yourself, feel free to delete this section entirely.**
|
|
@ -0,0 +1,92 @@
|
||||||
|
# Frontend Mentor - NFT preview card component
|
||||||
|
|
||||||
|
![Design preview for the NFT preview card component coding challenge](./design/desktop-preview.jpg)
|
||||||
|
|
||||||
|
## Welcome! 👋
|
||||||
|
|
||||||
|
Thanks for checking out this front-end coding challenge.
|
||||||
|
|
||||||
|
[Frontend Mentor](https://www.frontendmentor.io) challenges help you improve your coding skills by building realistic projects.
|
||||||
|
|
||||||
|
**To do this challenge, you need a basic understanding of HTML and CSS.**
|
||||||
|
|
||||||
|
## The challenge
|
||||||
|
|
||||||
|
Your challenge is to build out this preview card component and get it looking as close to the design as possible.
|
||||||
|
|
||||||
|
You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.
|
||||||
|
|
||||||
|
Your users should be able to:
|
||||||
|
|
||||||
|
- View the optimal layout depending on their device's screen size
|
||||||
|
- See hover states for interactive elements
|
||||||
|
|
||||||
|
Want some support on the challenge? [Join our Slack community](https://www.frontendmentor.io/slack) and ask questions in the **#help** channel.
|
||||||
|
|
||||||
|
## Where to find everything
|
||||||
|
|
||||||
|
Your task is to build out the project to the designs inside the `/design` folder. You will find both a mobile and a desktop version of the design.
|
||||||
|
|
||||||
|
The designs are in JPG static format. Using JPGs will mean that you'll need to use your best judgment for styles such as `font-size`, `padding` and `margin`.
|
||||||
|
|
||||||
|
If you would like the design files (we provide Sketch & Figma versions) to inspect the design in more detail, you can [subscribe as a PRO member](https://www.frontendmentor.io/pro).
|
||||||
|
|
||||||
|
You will find all the required assets in the `/images` folder. The assets are already optimized.
|
||||||
|
|
||||||
|
There is also a `style-guide.md` file containing the information you'll need, such as color palette and fonts.
|
||||||
|
|
||||||
|
## Building your project
|
||||||
|
|
||||||
|
Feel free to use any workflow that you feel comfortable with. Below is a suggested process, but do not feel like you need to follow these steps:
|
||||||
|
|
||||||
|
1. Initialize your project as a public repository on [GitHub](https://github.com/). Creating a repo will make it easier to share your code with the community if you need help. If you're not sure how to do this, [have a read-through of this Try Git resource](https://try.github.io/).
|
||||||
|
2. Configure your repository to publish your code to a web address. This will also be useful if you need some help during a challenge as you can share the URL for your project with your repo URL. There are a number of ways to do this, and we provide some recommendations below.
|
||||||
|
3. Look through the designs to start planning out how you'll tackle the project. This step is crucial to help you think ahead for CSS classes to create reusable styles.
|
||||||
|
4. Before adding any styles, structure your content with HTML. Writing your HTML first can help focus your attention on creating well-structured content.
|
||||||
|
5. Write out the base styles for your project, including general content styles, such as `font-family` and `font-size`.
|
||||||
|
6. Start adding styles to the top of the page and work down. Only move on to the next section once you're happy you've completed the area you're working on.
|
||||||
|
|
||||||
|
## Deploying your project
|
||||||
|
|
||||||
|
As mentioned above, there are many ways to host your project for free. Our recommend hosts are:
|
||||||
|
|
||||||
|
- [GitHub Pages](https://pages.github.com/)
|
||||||
|
- [Vercel](https://vercel.com/)
|
||||||
|
- [Netlify](https://www.netlify.com/)
|
||||||
|
|
||||||
|
You can host your site using one of these solutions or any of our other trusted providers. [Read more about our recommended and trusted hosts](https://medium.com/frontend-mentor/frontend-mentor-trusted-hosting-providers-bf000dfebe).
|
||||||
|
|
||||||
|
## Create a custom `README.md`
|
||||||
|
|
||||||
|
We strongly recommend overwriting this `README.md` with a custom one. We've provided a template inside the [`README-template.md`](./README-template.md) file in this starter code.
|
||||||
|
|
||||||
|
The template provides a guide for what to add. A custom `README` will help you explain your project and reflect on your learnings. Please feel free to edit our template as much as you like.
|
||||||
|
|
||||||
|
Once you've added your information to the template, delete this file and rename the `README-template.md` file to `README.md`. That will make it show up as your repository's README file.
|
||||||
|
|
||||||
|
## Submitting your solution
|
||||||
|
|
||||||
|
Submit your solution on the platform for the rest of the community to see. Follow our ["Complete guide to submitting solutions"](https://medium.com/frontend-mentor/a-complete-guide-to-submitting-solutions-on-frontend-mentor-ac6384162248) for tips on how to do this.
|
||||||
|
|
||||||
|
Remember, if you're looking for feedback on your solution, be sure to ask questions when submitting it. The more specific and detailed you are with your questions, the higher the chance you'll get valuable feedback from the community.
|
||||||
|
|
||||||
|
## Sharing your solution
|
||||||
|
|
||||||
|
There are multiple places you can share your solution:
|
||||||
|
|
||||||
|
1. Share your solution page in the **#finished-projects** channel of the [Slack community](https://www.frontendmentor.io/slack).
|
||||||
|
2. Tweet [@frontendmentor](https://twitter.com/frontendmentor) and mention **@frontendmentor**, including the repo and live URLs in the tweet. We'd love to take a look at what you've built and help share it around.
|
||||||
|
3. Share your solution on other social channels like LinkedIn.
|
||||||
|
4. Blog about your experience building your project. Writing about your workflow, technical choices, and talking through your code is a brilliant way to reinforce what you've learned. Great platforms to write on are [dev.to](https://dev.to/), [Hashnode](https://hashnode.com/), and [CodeNewbie](https://community.codenewbie.org/).
|
||||||
|
|
||||||
|
We provide templates to help you share your solution once you've submitted it on the platform. Please do edit them and include specific questions when you're looking for feedback.
|
||||||
|
|
||||||
|
The more specific you are with your questions the more likely it is that another member of the community will give you feedback.
|
||||||
|
|
||||||
|
## Got feedback for us?
|
||||||
|
|
||||||
|
We love receiving feedback! We're always looking to improve our challenges and our platform. So if you have anything you'd like to mention, please email hi[at]frontendmentor[dot]io.
|
||||||
|
|
||||||
|
This challenge is completely free. Please share it with anyone who will find it useful for practice.
|
||||||
|
|
||||||
|
**Have fun building!** 🚀
|
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 1.0 KiB |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="17" height="17" xmlns="http://www.w3.org/2000/svg"><path d="M8.305 2.007a6.667 6.667 0 1 0 0 13.334 6.667 6.667 0 0 0 0-13.334Zm2.667 7.334H8.305a.667.667 0 0 1-.667-.667V6.007a.667.667 0 0 1 1.334 0v2h2a.667.667 0 0 1 0 1.334Z" fill="#8BACD9"/></svg>
|
After Width: | Height: | Size: 263 B |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="11" height="18" xmlns="http://www.w3.org/2000/svg"><path d="M11 10.216 5.5 18 0 10.216l5.5 3.263 5.5-3.262ZM5.5 0l5.496 9.169L5.5 12.43 0 9.17 5.5 0Z" fill="#00FFF8"/></svg>
|
After Width: | Height: | Size: 185 B |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="48" height="48" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M0 0h48v48H0z"/><path d="M24 9C14 9 5.46 15.22 2 24c3.46 8.78 12 15 22 15 10.01 0 18.54-6.22 22-15-3.46-8.78-11.99-15-22-15Zm0 25c-5.52 0-10-4.48-10-10s4.48-10 10-10 10 4.48 10 10-4.48 10-10 10Zm0-16c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6Z" fill="#FFF" fill-rule="nonzero"/></g></svg>
|
After Width: | Height: | Size: 404 B |
After Width: | Height: | Size: 8.6 KiB |
After Width: | Height: | Size: 13 KiB |
|
@ -0,0 +1,33 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
|
||||||
|
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
|
||||||
|
|
||||||
|
<title>Frontend Mentor | NFT preview card component</title>
|
||||||
|
|
||||||
|
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
|
||||||
|
<style>
|
||||||
|
.attribution { font-size: 11px; text-align: center; }
|
||||||
|
.attribution a { color: hsl(228, 45%, 44%); }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
Equilibrium #3429
|
||||||
|
|
||||||
|
Our Equilibrium collection promotes balance and calm.
|
||||||
|
|
||||||
|
0.041 ETH
|
||||||
|
3 days left
|
||||||
|
|
||||||
|
Creation of Jules Wyvern
|
||||||
|
|
||||||
|
<div class="attribution">
|
||||||
|
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
|
||||||
|
Coded by <a href="#">Your Name Here</a>.
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,33 @@
|
||||||
|
# Front-end Style Guide
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
The designs were created to the following widths:
|
||||||
|
|
||||||
|
- Mobile: 375px
|
||||||
|
- Desktop: 1440px
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
### Primary
|
||||||
|
|
||||||
|
- Soft blue: hsl(215, 51%, 70%)
|
||||||
|
- Cyan: hsl(178, 100%, 50%)
|
||||||
|
|
||||||
|
### Neutral
|
||||||
|
|
||||||
|
- Very dark blue (main BG): hsl(217, 54%, 11%)
|
||||||
|
- Very dark blue (card BG): hsl(216, 50%, 16%)
|
||||||
|
- Very dark blue (line): hsl(215, 32%, 27%)
|
||||||
|
- White: hsl(0, 0%, 100%)
|
||||||
|
|
||||||
|
## Typography
|
||||||
|
|
||||||
|
### Body Copy
|
||||||
|
|
||||||
|
- Font size (paragraph): 18px
|
||||||
|
|
||||||
|
### Font
|
||||||
|
|
||||||
|
- Family: [Outfit](https://fonts.google.com/specimen/Outfit)
|
||||||
|
- Weights: 300, 400, 600
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Avoid accidental upload of the Sketch and Figma design files
|
||||||
|
#####################################################
|
||||||
|
## Please do not remove lines 5 and 6 - thanks! 🙂 ##
|
||||||
|
#####################################################
|
||||||
|
*.sketch
|
||||||
|
*.fig
|
||||||
|
|
||||||
|
# Avoid accidental XD upload if you convert the design file
|
||||||
|
###############################################
|
||||||
|
## Please do not remove line 12 - thanks! 🙂 ##
|
||||||
|
###############################################
|
||||||
|
*.xd
|
||||||
|
|
||||||
|
# Avoid your project being littered with annoying .DS_Store files!
|
||||||
|
.DS_Store
|
||||||
|
.prettierignore
|
|
@ -0,0 +1,111 @@
|
||||||
|
# Frontend Mentor - Product preview card component solution
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
## Table of contents
|
||||||
|
|
||||||
|
- [Overview](#overview)
|
||||||
|
- [The challenge](#the-challenge)
|
||||||
|
- [Screenshot](#screenshot)
|
||||||
|
- [Links](#links)
|
||||||
|
- [My process](#my-process)
|
||||||
|
- [Built with](#built-with)
|
||||||
|
- [What I learned](#what-i-learned)
|
||||||
|
- [Continued development](#continued-development)
|
||||||
|
- [Useful resources](#useful-resources)
|
||||||
|
- [Author](#author)
|
||||||
|
- [Acknowledgments](#acknowledgments)
|
||||||
|
|
||||||
|
**Note: Delete this note and update the table of contents based on what sections you keep.**
|
||||||
|
|
||||||
|
## 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)
|
||||||
|
|
||||||
|
Add a screenshot of your solution. The easiest way to do this is to use Firefox to view your project, right-click the page and select "Take a Screenshot". You can choose either a full-height screenshot or a cropped one based on how long the page is. If it's very long, it might be best to crop it.
|
||||||
|
|
||||||
|
Alternatively, you can use a tool like [FireShot](https://getfireshot.com/) to take the screenshot. FireShot has a free option, so you don't need to purchase it.
|
||||||
|
|
||||||
|
Then crop/optimize/edit your image however you like, add it to your project, and update the file path in the image above.
|
||||||
|
|
||||||
|
**Note: Delete this note and the paragraphs above when you add your screenshot. If you prefer not to add a screenshot, feel free to remove this entire section.**
|
||||||
|
|
||||||
|
### 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
|
||||||
|
|
||||||
|
- Semantic HTML5 markup
|
||||||
|
- CSS custom properties
|
||||||
|
- Flexbox
|
||||||
|
- CSS Grid
|
||||||
|
- Mobile-first workflow
|
||||||
|
- [React](https://reactjs.org/) - JS library
|
||||||
|
- [Next.js](https://nextjs.org/) - React framework
|
||||||
|
- [Styled Components](https://styled-components.com/) - For styles
|
||||||
|
|
||||||
|
**Note: These are just examples. Delete this note and replace the list above with your own choices**
|
||||||
|
|
||||||
|
### What I learned
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
To see how you can add code snippets, see below:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<h1>Some HTML code I'm proud of</h1>
|
||||||
|
```
|
||||||
|
```css
|
||||||
|
.proud-of-this-css {
|
||||||
|
color: papayawhip;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
```js
|
||||||
|
const proudOfThisFunc = () => {
|
||||||
|
console.log('🎉')
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want more help with writing markdown, we'd recommend checking out [The Markdown Guide](https://www.markdownguide.org/) to learn more.
|
||||||
|
|
||||||
|
**Note: Delete this note and the content within this section and replace with your own learnings.**
|
||||||
|
|
||||||
|
### Continued development
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
**Note: Delete this note and the content within this section and replace with your own plans for continued development.**
|
||||||
|
|
||||||
|
### Useful resources
|
||||||
|
|
||||||
|
- [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.
|
||||||
|
|
||||||
|
**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.**
|
||||||
|
|
||||||
|
## Author
|
||||||
|
|
||||||
|
- Website - [Add your name here](https://www.your-site.com)
|
||||||
|
- Frontend Mentor - [@yourusername](https://www.frontendmentor.io/profile/yourusername)
|
||||||
|
- Twitter - [@yourusername](https://www.twitter.com/yourusername)
|
||||||
|
|
||||||
|
**Note: Delete this note and add/remove/edit lines above based on what links you'd like to share.**
|
||||||
|
|
||||||
|
## Acknowledgments
|
||||||
|
|
||||||
|
This is where you can give a hat tip to anyone who helped you out on this project. Perhaps you worked in a team or got some inspiration from someone else's solution. This is the perfect place to give them some credit.
|
||||||
|
|
||||||
|
**Note: Delete this note and edit this section's content as necessary. If you completed this challenge by yourself, feel free to delete this section entirely.**
|
|
@ -0,0 +1,92 @@
|
||||||
|
# Frontend Mentor - Product preview card component
|
||||||
|
|
||||||
|
![Design preview for the Product preview card component coding challenge](./design/desktop-preview.jpg)
|
||||||
|
|
||||||
|
## Welcome! 👋
|
||||||
|
|
||||||
|
Thanks for checking out this front-end coding challenge.
|
||||||
|
|
||||||
|
[Frontend Mentor](https://www.frontendmentor.io) challenges help you improve your coding skills by building realistic projects.
|
||||||
|
|
||||||
|
**To do this challenge, you need a basic understanding of HTML and CSS.**
|
||||||
|
|
||||||
|
## The challenge
|
||||||
|
|
||||||
|
Your challenge is to build out this product preview card component and get it looking as close to the design as possible.
|
||||||
|
|
||||||
|
You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.
|
||||||
|
|
||||||
|
Your users should be able to:
|
||||||
|
|
||||||
|
- View the optimal layout depending on their device's screen size
|
||||||
|
- See hover and focus states for interactive elements
|
||||||
|
|
||||||
|
Want some support on the challenge? [Join our Slack community](https://www.frontendmentor.io/slack) and ask questions in the **#help** channel.
|
||||||
|
|
||||||
|
## Where to find everything
|
||||||
|
|
||||||
|
Your task is to build out the project to the designs inside the `/design` folder. You will find both a mobile and a desktop version of the design.
|
||||||
|
|
||||||
|
The designs are in JPG static format. Using JPGs will mean that you'll need to use your best judgment for styles such as `font-size`, `padding` and `margin`.
|
||||||
|
|
||||||
|
If you would like the design files (we provide Sketch & Figma versions) to inspect the design in more detail, you can [subscribe as a PRO member](https://www.frontendmentor.io/pro).
|
||||||
|
|
||||||
|
You will find all the required assets in the `/images` folder. The assets are already optimized.
|
||||||
|
|
||||||
|
There is also a `style-guide.md` file containing the information you'll need, such as color palette and fonts.
|
||||||
|
|
||||||
|
## Building your project
|
||||||
|
|
||||||
|
Feel free to use any workflow that you feel comfortable with. Below is a suggested process, but do not feel like you need to follow these steps:
|
||||||
|
|
||||||
|
1. Initialize your project as a public repository on [GitHub](https://github.com/). Creating a repo will make it easier to share your code with the community if you need help. If you're not sure how to do this, [have a read-through of this Try Git resource](https://try.github.io/).
|
||||||
|
2. Configure your repository to publish your code to a web address. This will also be useful if you need some help during a challenge as you can share the URL for your project with your repo URL. There are a number of ways to do this, and we provide some recommendations below.
|
||||||
|
3. Look through the designs to start planning out how you'll tackle the project. This step is crucial to help you think ahead for CSS classes to create reusable styles.
|
||||||
|
4. Before adding any styles, structure your content with HTML. Writing your HTML first can help focus your attention on creating well-structured content.
|
||||||
|
5. Write out the base styles for your project, including general content styles, such as `font-family` and `font-size`.
|
||||||
|
6. Start adding styles to the top of the page and work down. Only move on to the next section once you're happy you've completed the area you're working on.
|
||||||
|
|
||||||
|
## Deploying your project
|
||||||
|
|
||||||
|
As mentioned above, there are many ways to host your project for free. Our recommend hosts are:
|
||||||
|
|
||||||
|
- [GitHub Pages](https://pages.github.com/)
|
||||||
|
- [Vercel](https://vercel.com/)
|
||||||
|
- [Netlify](https://www.netlify.com/)
|
||||||
|
|
||||||
|
You can host your site using one of these solutions or any of our other trusted providers. [Read more about our recommended and trusted hosts](https://medium.com/frontend-mentor/frontend-mentor-trusted-hosting-providers-bf000dfebe).
|
||||||
|
|
||||||
|
## Create a custom `README.md`
|
||||||
|
|
||||||
|
We strongly recommend overwriting this `README.md` with a custom one. We've provided a template inside the [`README-template.md`](./README-template.md) file in this starter code.
|
||||||
|
|
||||||
|
The template provides a guide for what to add. A custom `README` will help you explain your project and reflect on your learnings. Please feel free to edit our template as much as you like.
|
||||||
|
|
||||||
|
Once you've added your information to the template, delete this file and rename the `README-template.md` file to `README.md`. That will make it show up as your repository's README file.
|
||||||
|
|
||||||
|
## Submitting your solution
|
||||||
|
|
||||||
|
Submit your solution on the platform for the rest of the community to see. Follow our ["Complete guide to submitting solutions"](https://medium.com/frontend-mentor/a-complete-guide-to-submitting-solutions-on-frontend-mentor-ac6384162248) for tips on how to do this.
|
||||||
|
|
||||||
|
Remember, if you're looking for feedback on your solution, be sure to ask questions when submitting it. The more specific and detailed you are with your questions, the higher the chance you'll get valuable feedback from the community.
|
||||||
|
|
||||||
|
## Sharing your solution
|
||||||
|
|
||||||
|
There are multiple places you can share your solution:
|
||||||
|
|
||||||
|
1. Share your solution page in the **#finished-projects** channel of the [Slack community](https://www.frontendmentor.io/slack).
|
||||||
|
2. Tweet [@frontendmentor](https://twitter.com/frontendmentor) and mention **@frontendmentor**, including the repo and live URLs in the tweet. We'd love to take a look at what you've built and help share it around.
|
||||||
|
3. Share your solution on other social channels like LinkedIn.
|
||||||
|
4. Blog about your experience building your project. Writing about your workflow, technical choices, and talking through your code is a brilliant way to reinforce what you've learned. Great platforms to write on are [dev.to](https://dev.to/), [Hashnode](https://hashnode.com/), and [CodeNewbie](https://community.codenewbie.org/).
|
||||||
|
|
||||||
|
We provide templates to help you share your solution once you've submitted it on the platform. Please do edit them and include specific questions when you're looking for feedback.
|
||||||
|
|
||||||
|
The more specific you are with your questions the more likely it is that another member of the community will give you feedback.
|
||||||
|
|
||||||
|
## Got feedback for us?
|
||||||
|
|
||||||
|
We love receiving feedback! We're always looking to improve our challenges and our platform. So if you have anything you'd like to mention, please email hi[at]frontendmentor[dot]io.
|
||||||
|
|
||||||
|
This challenge is completely free. Please share it with anyone who will find it useful for practice.
|
||||||
|
|
||||||
|
**Have fun building!** 🚀
|
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 1.0 KiB |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="15" height="16" xmlns="http://www.w3.org/2000/svg"><path d="M14.383 10.388a2.397 2.397 0 0 0-1.518-2.222l1.494-5.593a.8.8 0 0 0-.144-.695.8.8 0 0 0-.631-.28H2.637L2.373.591A.8.8 0 0 0 1.598 0H0v1.598h.983l1.982 7.4a.8.8 0 0 0 .799.59h8.222a.8.8 0 0 1 0 1.599H1.598a.8.8 0 1 0 0 1.598h.943a2.397 2.397 0 1 0 4.507 0h1.885a2.397 2.397 0 1 0 4.331-.376 2.397 2.397 0 0 0 1.12-2.021ZM11.26 7.99H4.395L3.068 3.196h9.477L11.26 7.991Zm-6.465 6.392a.8.8 0 1 1 0-1.598.8.8 0 0 1 0 1.598Zm6.393 0a.8.8 0 1 1 0-1.598.8.8 0 0 1 0 1.598Z" fill="#FFF"/></svg>
|
After Width: | Height: | Size: 557 B |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 29 KiB |
|
@ -0,0 +1,36 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
|
||||||
|
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
|
||||||
|
|
||||||
|
<title>Frontend Mentor | Product preview card component</title>
|
||||||
|
|
||||||
|
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
|
||||||
|
<style>
|
||||||
|
.attribution { font-size: 11px; text-align: center; }
|
||||||
|
.attribution a { color: hsl(228, 45%, 44%); }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
Preview
|
||||||
|
|
||||||
|
Gabrielle Essence Eau De Parfum
|
||||||
|
|
||||||
|
A floral, solar and voluptuous interpretation composed by Olivier Polge,
|
||||||
|
Perfumer-Creator for the House of CHANEL.
|
||||||
|
|
||||||
|
$149.99
|
||||||
|
$169.99
|
||||||
|
|
||||||
|
Add to Cart
|
||||||
|
|
||||||
|
<div class="attribution">
|
||||||
|
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
|
||||||
|
Coded by <a href="#">Your Name Here</a>.
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,35 @@
|
||||||
|
# Front-end Style Guide
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
The designs were created to the following widths:
|
||||||
|
|
||||||
|
- Mobile: 375px
|
||||||
|
- Desktop: 1440px
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
### Primary
|
||||||
|
|
||||||
|
- Dark cyan: hsl(158, 36%, 37%)
|
||||||
|
- Cream: hsl(30, 38%, 92%)
|
||||||
|
|
||||||
|
### Neutral
|
||||||
|
|
||||||
|
- Very dark blue: hsl(212, 21%, 14%)
|
||||||
|
- Dark grayish blue: hsl(228, 12%, 48%)
|
||||||
|
- White: hsl(0, 0%, 100%)
|
||||||
|
|
||||||
|
## Typography
|
||||||
|
|
||||||
|
### Body Copy
|
||||||
|
|
||||||
|
- Font size (paragraph): 14px
|
||||||
|
|
||||||
|
### Font
|
||||||
|
|
||||||
|
- Family: [Montserrat](https://fonts.google.com/specimen/Montserrat)
|
||||||
|
- Weights: 500, 700
|
||||||
|
|
||||||
|
- Family: [Fraunces](https://fonts.google.com/specimen/Fraunces)
|
||||||
|
- Weights: 700
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Avoid accidental upload of the Sketch and Figma design files
|
||||||
|
#####################################################
|
||||||
|
## Please do not remove lines 5 and 6 - thanks! 🙂 ##
|
||||||
|
#####################################################
|
||||||
|
*.sketch
|
||||||
|
*.fig
|
||||||
|
|
||||||
|
# Avoid accidental XD upload if you convert the design file
|
||||||
|
###############################################
|
||||||
|
## Please do not remove line 12 - thanks! 🙂 ##
|
||||||
|
###############################################
|
||||||
|
*.xd
|
||||||
|
|
||||||
|
# Avoid your project being littered with annoying .DS_Store files!
|
||||||
|
.DS_Store
|
||||||
|
.prettierignore
|
|
@ -0,0 +1,103 @@
|
||||||
|
# Frontend Mentor - QR code component solution
|
||||||
|
|
||||||
|
This is a solution to the [QR code component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/qr-code-component-iux_sIO_H). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
|
||||||
|
|
||||||
|
## Table of contents
|
||||||
|
|
||||||
|
- [Overview](#overview)
|
||||||
|
- [Screenshot](#screenshot)
|
||||||
|
- [Links](#links)
|
||||||
|
- [My process](#my-process)
|
||||||
|
- [Built with](#built-with)
|
||||||
|
- [What I learned](#what-i-learned)
|
||||||
|
- [Continued development](#continued-development)
|
||||||
|
- [Useful resources](#useful-resources)
|
||||||
|
- [Author](#author)
|
||||||
|
- [Acknowledgments](#acknowledgments)
|
||||||
|
|
||||||
|
**Note: Delete this note and update the table of contents based on what sections you keep.**
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
### Screenshot
|
||||||
|
|
||||||
|
![](./screenshot.jpg)
|
||||||
|
|
||||||
|
Add a screenshot of your solution. The easiest way to do this is to use Firefox to view your project, right-click the page and select "Take a Screenshot". You can choose either a full-height screenshot or a cropped one based on how long the page is. If it's very long, it might be best to crop it.
|
||||||
|
|
||||||
|
Alternatively, you can use a tool like [FireShot](https://getfireshot.com/) to take the screenshot. FireShot has a free option, so you don't need to purchase it.
|
||||||
|
|
||||||
|
Then crop/optimize/edit your image however you like, add it to your project, and update the file path in the image above.
|
||||||
|
|
||||||
|
**Note: Delete this note and the paragraphs above when you add your screenshot. If you prefer not to add a screenshot, feel free to remove this entire section.**
|
||||||
|
|
||||||
|
### 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
|
||||||
|
|
||||||
|
- Semantic HTML5 markup
|
||||||
|
- CSS custom properties
|
||||||
|
- Flexbox
|
||||||
|
- CSS Grid
|
||||||
|
- Mobile-first workflow
|
||||||
|
- [React](https://reactjs.org/) - JS library
|
||||||
|
- [Next.js](https://nextjs.org/) - React framework
|
||||||
|
- [Styled Components](https://styled-components.com/) - For styles
|
||||||
|
|
||||||
|
**Note: These are just examples. Delete this note and replace the list above with your own choices**
|
||||||
|
|
||||||
|
### What I learned
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
To see how you can add code snippets, see below:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<h1>Some HTML code I'm proud of</h1>
|
||||||
|
```
|
||||||
|
```css
|
||||||
|
.proud-of-this-css {
|
||||||
|
color: papayawhip;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
```js
|
||||||
|
const proudOfThisFunc = () => {
|
||||||
|
console.log('🎉')
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want more help with writing markdown, we'd recommend checking out [The Markdown Guide](https://www.markdownguide.org/) to learn more.
|
||||||
|
|
||||||
|
**Note: Delete this note and the content within this section and replace with your own learnings.**
|
||||||
|
|
||||||
|
### Continued development
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
**Note: Delete this note and the content within this section and replace with your own plans for continued development.**
|
||||||
|
|
||||||
|
### Useful resources
|
||||||
|
|
||||||
|
- [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.
|
||||||
|
|
||||||
|
**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.**
|
||||||
|
|
||||||
|
## Author
|
||||||
|
|
||||||
|
- Website - [Add your name here](https://www.your-site.com)
|
||||||
|
- Frontend Mentor - [@yourusername](https://www.frontendmentor.io/profile/yourusername)
|
||||||
|
- Twitter - [@yourusername](https://www.twitter.com/yourusername)
|
||||||
|
|
||||||
|
**Note: Delete this note and add/remove/edit lines above based on what links you'd like to share.**
|
||||||
|
|
||||||
|
## Acknowledgments
|
||||||
|
|
||||||
|
This is where you can give a hat tip to anyone who helped you out on this project. Perhaps you worked in a team or got some inspiration from someone else's solution. This is the perfect place to give them some credit.
|
||||||
|
|
||||||
|
**Note: Delete this note and edit this section's content as necessary. If you completed this challenge by yourself, feel free to delete this section entirely.**
|
|
@ -0,0 +1,87 @@
|
||||||
|
# Frontend Mentor - QR code component
|
||||||
|
|
||||||
|
![Design preview for the QR code component coding challenge](./design/desktop-preview.jpg)
|
||||||
|
|
||||||
|
## Welcome! 👋
|
||||||
|
|
||||||
|
Thanks for checking out this front-end coding challenge.
|
||||||
|
|
||||||
|
[Frontend Mentor](https://www.frontendmentor.io) challenges help you improve your coding skills by building realistic projects.
|
||||||
|
|
||||||
|
**To do this challenge, you need a basic understanding of HTML and CSS.**
|
||||||
|
|
||||||
|
## The challenge
|
||||||
|
|
||||||
|
Your challenge is to build out this QR code component and get it looking as close to the design as possible.
|
||||||
|
|
||||||
|
You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.
|
||||||
|
|
||||||
|
Want some support on the challenge? [Join our Slack community](https://www.frontendmentor.io/slack) and ask questions in the **#help** channel.
|
||||||
|
|
||||||
|
## Where to find everything
|
||||||
|
|
||||||
|
Your task is to build out the project to the designs inside the `/design` folder. You will find both a mobile and a desktop version of the design.
|
||||||
|
|
||||||
|
The designs are in JPG static format. Using JPGs will mean that you'll need to use your best judgment for styles such as `font-size`, `padding` and `margin`.
|
||||||
|
|
||||||
|
If you would like the design files (we provide Sketch & Figma versions) to inspect the design in more detail, you can [subscribe as a PRO member](https://www.frontendmentor.io/pro).
|
||||||
|
|
||||||
|
You will find all the required assets in the `/images` folder. The assets are already optimized.
|
||||||
|
|
||||||
|
There is also a `style-guide.md` file containing the information you'll need, such as color palette and fonts.
|
||||||
|
|
||||||
|
## Building your project
|
||||||
|
|
||||||
|
Feel free to use any workflow that you feel comfortable with. Below is a suggested process, but do not feel like you need to follow these steps:
|
||||||
|
|
||||||
|
1. Initialize your project as a public repository on [GitHub](https://github.com/). Creating a repo will make it easier to share your code with the community if you need help. If you're not sure how to do this, [have a read-through of this Try Git resource](https://try.github.io/).
|
||||||
|
2. Configure your repository to publish your code to a web address. This will also be useful if you need some help during a challenge as you can share the URL for your project with your repo URL. There are a number of ways to do this, and we provide some recommendations below.
|
||||||
|
3. Look through the designs to start planning out how you'll tackle the project. This step is crucial to help you think ahead for CSS classes to create reusable styles.
|
||||||
|
4. Before adding any styles, structure your content with HTML. Writing your HTML first can help focus your attention on creating well-structured content.
|
||||||
|
5. Write out the base styles for your project, including general content styles, such as `font-family` and `font-size`.
|
||||||
|
6. Start adding styles to the top of the page and work down. Only move on to the next section once you're happy you've completed the area you're working on.
|
||||||
|
|
||||||
|
## Deploying your project
|
||||||
|
|
||||||
|
As mentioned above, there are many ways to host your project for free. Our recommend hosts are:
|
||||||
|
|
||||||
|
- [GitHub Pages](https://pages.github.com/)
|
||||||
|
- [Vercel](https://vercel.com/)
|
||||||
|
- [Netlify](https://www.netlify.com/)
|
||||||
|
|
||||||
|
You can host your site using one of these solutions or any of our other trusted providers. [Read more about our recommended and trusted hosts](https://medium.com/frontend-mentor/frontend-mentor-trusted-hosting-providers-bf000dfebe).
|
||||||
|
|
||||||
|
## Create a custom `README.md`
|
||||||
|
|
||||||
|
We strongly recommend overwriting this `README.md` with a custom one. We've provided a template inside the [`README-template.md`](./README-template.md) file in this starter code.
|
||||||
|
|
||||||
|
The template provides a guide for what to add. A custom `README` will help you explain your project and reflect on your learnings. Please feel free to edit our template as much as you like.
|
||||||
|
|
||||||
|
Once you've added your information to the template, delete this file and rename the `README-template.md` file to `README.md`. That will make it show up as your repository's README file.
|
||||||
|
|
||||||
|
## Submitting your solution
|
||||||
|
|
||||||
|
Submit your solution on the platform for the rest of the community to see. Follow our ["Complete guide to submitting solutions"](https://medium.com/frontend-mentor/a-complete-guide-to-submitting-solutions-on-frontend-mentor-ac6384162248) for tips on how to do this.
|
||||||
|
|
||||||
|
Remember, if you're looking for feedback on your solution, be sure to ask questions when submitting it. The more specific and detailed you are with your questions, the higher the chance you'll get valuable feedback from the community.
|
||||||
|
|
||||||
|
## Sharing your solution
|
||||||
|
|
||||||
|
There are multiple places you can share your solution:
|
||||||
|
|
||||||
|
1. Share your solution page in the **#finished-projects** channel of the [Slack community](https://www.frontendmentor.io/slack).
|
||||||
|
2. Tweet [@frontendmentor](https://twitter.com/frontendmentor) and mention **@frontendmentor**, including the repo and live URLs in the tweet. We'd love to take a look at what you've built and help share it around.
|
||||||
|
3. Share your solution on other social channels like LinkedIn.
|
||||||
|
4. Blog about your experience building your project. Writing about your workflow, technical choices, and talking through your code is a brilliant way to reinforce what you've learned. Great platforms to write on are [dev.to](https://dev.to/), [Hashnode](https://hashnode.com/), and [CodeNewbie](https://community.codenewbie.org/).
|
||||||
|
|
||||||
|
We provide templates to help you share your solution once you've submitted it on the platform. Please do edit them and include specific questions when you're looking for feedback.
|
||||||
|
|
||||||
|
The more specific you are with your questions the more likely it is that another member of the community will give you feedback.
|
||||||
|
|
||||||
|
## Got feedback for us?
|
||||||
|
|
||||||
|
We love receiving feedback! We're always looking to improve our challenges and our platform. So if you have anything you'd like to mention, please email hi[at]frontendmentor[dot]io.
|
||||||
|
|
||||||
|
This challenge is completely free. Please share it with anyone who will find it useful for practice.
|
||||||
|
|
||||||
|
**Have fun building!** 🚀
|
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 5.1 KiB |
|
@ -0,0 +1,28 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
|
||||||
|
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
|
||||||
|
|
||||||
|
<title>Frontend Mentor | QR code component</title>
|
||||||
|
|
||||||
|
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
|
||||||
|
<style>
|
||||||
|
.attribution { font-size: 11px; text-align: center; }
|
||||||
|
.attribution a { color: hsl(228, 45%, 44%); }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
Improve your front-end skills by building projects
|
||||||
|
|
||||||
|
Scan the QR code to visit Frontend Mentor and take your coding skills to the next level
|
||||||
|
|
||||||
|
<div class="attribution">
|
||||||
|
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
|
||||||
|
Coded by <a href="#">Your Name Here</a>.
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,26 @@
|
||||||
|
# Front-end Style Guide
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
The designs were created to the following widths:
|
||||||
|
|
||||||
|
- Mobile: 375px
|
||||||
|
- Desktop: 1440px
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
- White: hsl(0, 0%, 100%)
|
||||||
|
- Light gray: hsl(212, 45%, 89%)
|
||||||
|
- Grayish blue: hsl(220, 15%, 55%)
|
||||||
|
- Dark blue: hsl(218, 44%, 22%)
|
||||||
|
|
||||||
|
## Typography
|
||||||
|
|
||||||
|
### Body Copy
|
||||||
|
|
||||||
|
- Font size (paragraph): 15px
|
||||||
|
|
||||||
|
### Font
|
||||||
|
|
||||||
|
- Family: [Outfit](https://fonts.google.com/specimen/Outfit)
|
||||||
|
- Weights: 400, 700
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Avoid accidental upload of the Sketch and Figma design files
|
||||||
|
#####################################################
|
||||||
|
## Please do not remove lines 5 and 6 - thanks! 🙂 ##
|
||||||
|
#####################################################
|
||||||
|
*.sketch
|
||||||
|
*.fig
|
||||||
|
|
||||||
|
# Avoid accidental XD upload if you convert the design file
|
||||||
|
###############################################
|
||||||
|
## Please do not remove line 12 - thanks! 🙂 ##
|
||||||
|
###############################################
|
||||||
|
*.xd
|
||||||
|
|
||||||
|
# Avoid your project being littered with annoying .DS_Store files!
|
||||||
|
.DS_Store
|
||||||
|
.prettierignore
|
|
@ -0,0 +1,111 @@
|
||||||
|
# Frontend Mentor - Skilled e-learning landing page solution
|
||||||
|
|
||||||
|
This is a solution to the [Skilled e-learning landing page challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/skilled-elearning-landing-page-S1ObDrZ8q). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
|
||||||
|
|
||||||
|
## Table of contents
|
||||||
|
|
||||||
|
- [Overview](#overview)
|
||||||
|
- [The challenge](#the-challenge)
|
||||||
|
- [Screenshot](#screenshot)
|
||||||
|
- [Links](#links)
|
||||||
|
- [My process](#my-process)
|
||||||
|
- [Built with](#built-with)
|
||||||
|
- [What I learned](#what-i-learned)
|
||||||
|
- [Continued development](#continued-development)
|
||||||
|
- [Useful resources](#useful-resources)
|
||||||
|
- [Author](#author)
|
||||||
|
- [Acknowledgments](#acknowledgments)
|
||||||
|
|
||||||
|
**Note: Delete this note and update the table of contents based on what sections you keep.**
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
### The challenge
|
||||||
|
|
||||||
|
Users should be able to:
|
||||||
|
|
||||||
|
- View the optimal layout depending on their device's screen size
|
||||||
|
- See hover states for interactive elements
|
||||||
|
|
||||||
|
### Screenshot
|
||||||
|
|
||||||
|
![](./screenshot.jpg)
|
||||||
|
|
||||||
|
Add a screenshot of your solution. The easiest way to do this is to use Firefox to view your project, right-click the page and select "Take a Screenshot". You can choose either a full-height screenshot or a cropped one based on how long the page is. If it's very long, it might be best to crop it.
|
||||||
|
|
||||||
|
Alternatively, you can use a tool like [FireShot](https://getfireshot.com/) to take the screenshot. FireShot has a free option, so you don't need to purchase it.
|
||||||
|
|
||||||
|
Then crop/optimize/edit your image however you like, add it to your project, and update the file path in the image above.
|
||||||
|
|
||||||
|
**Note: Delete this note and the paragraphs above when you add your screenshot. If you prefer not to add a screenshot, feel free to remove this entire section.**
|
||||||
|
|
||||||
|
### 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
|
||||||
|
|
||||||
|
- Semantic HTML5 markup
|
||||||
|
- CSS custom properties
|
||||||
|
- Flexbox
|
||||||
|
- CSS Grid
|
||||||
|
- Mobile-first workflow
|
||||||
|
- [React](https://reactjs.org/) - JS library
|
||||||
|
- [Next.js](https://nextjs.org/) - React framework
|
||||||
|
- [Styled Components](https://styled-components.com/) - For styles
|
||||||
|
|
||||||
|
**Note: These are just examples. Delete this note and replace the list above with your own choices**
|
||||||
|
|
||||||
|
### What I learned
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
To see how you can add code snippets, see below:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<h1>Some HTML code I'm proud of</h1>
|
||||||
|
```
|
||||||
|
```css
|
||||||
|
.proud-of-this-css {
|
||||||
|
color: papayawhip;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
```js
|
||||||
|
const proudOfThisFunc = () => {
|
||||||
|
console.log('🎉')
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want more help with writing markdown, we'd recommend checking out [The Markdown Guide](https://www.markdownguide.org/) to learn more.
|
||||||
|
|
||||||
|
**Note: Delete this note and the content within this section and replace with your own learnings.**
|
||||||
|
|
||||||
|
### Continued development
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
**Note: Delete this note and the content within this section and replace with your own plans for continued development.**
|
||||||
|
|
||||||
|
### Useful resources
|
||||||
|
|
||||||
|
- [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.
|
||||||
|
|
||||||
|
**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.**
|
||||||
|
|
||||||
|
## Author
|
||||||
|
|
||||||
|
- Website - [Add your name here](https://www.your-site.com)
|
||||||
|
- Frontend Mentor - [@yourusername](https://www.frontendmentor.io/profile/yourusername)
|
||||||
|
- Twitter - [@yourusername](https://www.twitter.com/yourusername)
|
||||||
|
|
||||||
|
**Note: Delete this note and add/remove/edit lines above based on what links you'd like to share.**
|
||||||
|
|
||||||
|
## Acknowledgments
|
||||||
|
|
||||||
|
This is where you can give a hat tip to anyone who helped you out on this project. Perhaps you worked in a team or got some inspiration from someone else's solution. This is the perfect place to give them some credit.
|
||||||
|
|
||||||
|
**Note: Delete this note and edit this section's content as necessary. If you completed this challenge by yourself, feel free to delete this section entirely.**
|
|
@ -0,0 +1,88 @@
|
||||||
|
# Frontend Mentor - Skilled e-learning landing page
|
||||||
|
|
||||||
|
![Design preview for the Skilled e-learning landing page coding challenge](./preview.jpg)
|
||||||
|
|
||||||
|
## Welcome! 👋
|
||||||
|
|
||||||
|
Thanks for purchasing this premium Frontend Mentor coding challenge.
|
||||||
|
|
||||||
|
[Frontend Mentor](https://www.frontendmentor.io) challenges help you improve your coding skills by building realistic projects. These premium challenges are perfect portfolio pieces, so please feel free to use what you create in your portfolio to show others.
|
||||||
|
|
||||||
|
**To do this challenge, you need a decent understanding of HTML and CSS.**
|
||||||
|
|
||||||
|
## The challenge
|
||||||
|
|
||||||
|
Your challenge is to build out this landing page and get it looking as close to the design as possible.
|
||||||
|
|
||||||
|
You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.
|
||||||
|
|
||||||
|
Your users should be able to:
|
||||||
|
|
||||||
|
- View the optimal layout depending on their device's screen size
|
||||||
|
- See hover states for interactive elements
|
||||||
|
|
||||||
|
Want some support on the challenge? [Join our Slack community](https://www.frontendmentor.io/slack) and ask questions in the **#help** channel.
|
||||||
|
|
||||||
|
## Where to find everything
|
||||||
|
|
||||||
|
Your task is to build out the project to the design file provided. We provide both Sketch and Figma versions of the design, so you can choose which tool you prefer to use. You can download the design file on the platform. **Please be sure not to share them with anyone else.** The design download comes with a `README.md` file as well to help you get set up.
|
||||||
|
|
||||||
|
All the required assets for this project are in the `/assets` folder. The assets are already exported for the correct screen size and optimized. Some images are reusable at multiple screen sizes, some are for specific layouts. We also include WEBP and PNG versions and different resolutions of the hero image, so you can choose to use whichever format and resolution you like or even look into letting the browser choose which image to use based on specific conditions. For this, you can look into [responsive images](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images) to learn more.
|
||||||
|
|
||||||
|
The design system in the design file will give you more information about the various colors, fonts, and styles used in this project. Our fonts always come from [Google Fonts](https://fonts.google.com/).
|
||||||
|
|
||||||
|
## Building your project
|
||||||
|
|
||||||
|
Feel free to use any workflow that you feel comfortable with. Below is a suggested process, but do not feel like you need to follow these steps:
|
||||||
|
|
||||||
|
1. Separate the `starter-code` from the rest of this project and rename it to something meaningful for you. Initialize the codebase as a public repository on [GitHub](https://github.com/). Creating a repo will make it easier to share your code with the community if you need help. If you're not sure how to do this, [have a read-through of this Try Git resource](https://try.github.io/). **⚠️ IMPORTANT ⚠️: There are already a couple of `.gitignore` files in this project. Please do not remove them or change the content of the files. If you create a brand new project, please use the `.gitignore` files provided in your new codebase. This is to avoid the accidental upload of the design files to GitHub. With these premium challenges, please be sure not to share the design files in your GitHub repo. Thanks!**
|
||||||
|
2. Configure your repository to publish your code to a web address. This will also be useful if you need some help during a challenge as you can share the URL for your project with your repo URL. There are a number of ways to do this, and we provide some recommendations below.
|
||||||
|
3. Look through the designs to start planning out how you'll tackle the project. This step is crucial to help you think ahead for CSS classes to create reusable styles.
|
||||||
|
4. Before adding any styles, structure your content with HTML. Writing your HTML first can help focus your attention on creating well-structured content.
|
||||||
|
5. Write out the base styles for your project, including general content styles, such as `font-family` and `font-size`.
|
||||||
|
6. Start adding styles to the top of the page and work down. Only move on to the next section once you're happy you've completed the area you're working on.
|
||||||
|
|
||||||
|
## Deploying your project
|
||||||
|
|
||||||
|
As mentioned above, there are many ways to host your project for free. Our recommend hosts are:
|
||||||
|
|
||||||
|
- [GitHub Pages](https://pages.github.com/)
|
||||||
|
- [Vercel](https://vercel.com/)
|
||||||
|
- [Netlify](https://www.netlify.com/)
|
||||||
|
|
||||||
|
You can host your site using one of these solutions or any of our other trusted providers. [Read more about our recommended and trusted hosts](https://medium.com/frontend-mentor/frontend-mentor-trusted-hosting-providers-bf000dfebe).
|
||||||
|
|
||||||
|
## Create a custom `README.md`
|
||||||
|
|
||||||
|
We strongly recommend overwriting this `README.md` with a custom one. We've provided a template inside the [`README-template.md`](./README-template.md) file in this starter code.
|
||||||
|
|
||||||
|
The template provides a guide for what to add. A custom `README` will help you explain your project and reflect on your learnings. Please feel free to edit our template as much as you like.
|
||||||
|
|
||||||
|
Once you've added your information to the template, delete this file and rename the `README-template.md` file to `README.md`. That will make it show up as your repository's README file.
|
||||||
|
|
||||||
|
## Submitting your solution
|
||||||
|
|
||||||
|
Submit your solution on the platform for the rest of the community to see. Follow our ["Complete guide to submitting solutions"](https://medium.com/frontend-mentor/a-complete-guide-to-submitting-solutions-on-frontend-mentor-ac6384162248) for tips on how to do this.
|
||||||
|
|
||||||
|
Remember, if you're looking for feedback on your solution, be sure to ask questions when submitting it. The more specific and detailed you are with your questions, the higher the chance you'll get valuable feedback from the community.
|
||||||
|
|
||||||
|
**⚠️ IMPORTANT ⚠️: With these premium challenges, please be sure not to upload the design files to GitHub when you're submitting to the platform and sharing it around. If you've created a brand new project, the easiest way to do that is to copy across the `.gitignore` provided in this starter project.**
|
||||||
|
|
||||||
|
## Sharing your solution
|
||||||
|
|
||||||
|
There are multiple places you can share your solution:
|
||||||
|
|
||||||
|
1. Share your solution page in the **#finished-projects** channel of the [Slack community](https://www.frontendmentor.io/slack).
|
||||||
|
2. Tweet [@frontendmentor](https://twitter.com/frontendmentor) and mention **@frontendmentor**, including the repo and live URLs in the tweet. We'd love to take a look at what you've built and help share it around.
|
||||||
|
3. Share your solution on other social channels like LinkedIn.
|
||||||
|
4. Blog about your experience building your project. Writing about your workflow, technical choices, and talking through your code is a brilliant way to reinforce what you've learned. Great platforms to write on are [dev.to](https://dev.to/), [Hashnode](https://hashnode.com/), and [CodeNewbie](https://community.codenewbie.org/).
|
||||||
|
|
||||||
|
We provide templates to help you share your solution once you've submitted it on the platform. Please do edit them and include specific questions when you're looking for feedback.
|
||||||
|
|
||||||
|
The more specific you are with your questions the more likely it is that another member of the community will give you feedback.
|
||||||
|
|
||||||
|
## Got feedback for us?
|
||||||
|
|
||||||
|
We love receiving feedback! We're always looking to improve our challenges and our platform. So if you have anything you'd like to mention, please email hi[at]frontendmentor[dot]io.
|
||||||
|
|
||||||
|
**Have fun building!** 🚀
|
After Width: | Height: | Size: 93 KiB |
16
projects/FrontendMentor/newbie/skilled-elearning-landing-page/starter-code/.gitignore
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Avoid accidental upload of the Sketch and Figma design files
|
||||||
|
#####################################################
|
||||||
|
## Please do not remove lines 5 and 6 - thanks! 🙂 ##
|
||||||
|
#####################################################
|
||||||
|
*.sketch
|
||||||
|
*.fig
|
||||||
|
|
||||||
|
# Avoid accidental XD upload if you convert the design file
|
||||||
|
###############################################
|
||||||
|
## Please do not remove line 12 - thanks! 🙂 ##
|
||||||
|
###############################################
|
||||||
|
*.xd
|
||||||
|
|
||||||
|
# Avoid your project being littered with annoying .DS_Store files!
|
||||||
|
.DS_Store
|
||||||
|
.prettierignore
|
After Width: | Height: | Size: 1.0 KiB |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="56" height="56" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="a"><stop stop-color="#FF6F48" offset="0%"/><stop stop-color="#F02AA6" offset="100%"/></linearGradient></defs><g fill="none" fill-rule="evenodd"><circle fill="url(#a)" cx="28" cy="28" r="28"/><path d="M33.97 20.678c.565-.498.893-1.21.906-1.962A2.706 2.706 0 0 0 32.16 16a2.794 2.794 0 0 0-1.66.603 2.825 2.825 0 0 0-.854 1.962 2.69 2.69 0 0 0 4.325 2.113Zm-8.752.453c0 .05-.05.05-.1.1v.05a6.308 6.308 0 0 0-2.919 1.41c-.503.473-.958.995-1.358 1.559-1.006 1.408 1.358 2.766 2.315 1.358 1.257-1.762 2.816-2.264 4.527-1.71a141.96 141.96 0 0 0-2.717 5.181c-1.107 2.163-3.47 3.874-5.786 2.566a1.402 1.402 0 1 0-1.508 2.364 6.826 6.826 0 0 0 8.704-1.66c.05 0 .153.05.2.05 1.5.624 2.907 1.454 4.177 2.466.603.502 1.66 3.065 2.263 4.376a1.392 1.392 0 0 0 2.113.452c.393-.382.476-.982.202-1.456-.705-1.456-1.862-4.427-2.818-5.135a31.566 31.566 0 0 0-2.364-1.762l.1-.1a16.972 16.972 0 0 0-1.006-.605c.856-1.609 1.711-3.168 2.616-4.728 2.11.667 4.415.19 6.087-1.258.517-.46.973-.984 1.358-1.56.956-1.257-.905-2.515-2.012-1.66a.709.709 0 0 0-.153.202 4.36 4.36 0 0 1-2.013 1.66c-.05.05-.1.05-.1.1h-.051a4.146 4.146 0 0 1-3.622-.452l.101-.101h.05a.383.383 0 0 0-.201-.1 9.292 9.292 0 0 0-.956-.554 7.258 7.258 0 0 0-5.134-1.056l.005.003Z" fill="#FFF" fill-rule="nonzero"/></g></svg>
|
After Width: | Height: | Size: 1.4 KiB |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="56" height="56" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="a"><stop stop-color="#FF6F48" offset="0%"/><stop stop-color="#F02AA6" offset="100%"/></linearGradient><path d="M35 22h-2c0-2.76-2.24-5-5-5s-5 2.24-5 5h-2c-1.1 0-1.99.9-1.99 2L19 36c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V24c0-1.1-.9-2-2-2Zm-7-3c1.66 0 3 1.34 3 3h-6c0-1.66 1.34-3 3-3Zm0 10c-2.76 0-5-2.24-5-5h2c0 1.66 1.34 3 3 3s3-1.34 3-3h2c0 2.76-2.24 5-5 5Z" id="b"/></defs><g fill="none" fill-rule="evenodd"><circle fill="url(#a)" cx="28" cy="28" r="28"/><use fill="#FFF" xlink:href="#b"/></g></svg>
|
After Width: | Height: | Size: 663 B |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="56" height="56" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="a"><stop stop-color="#FF6F48" offset="0%"/><stop stop-color="#F02AA6" offset="100%"/></linearGradient><path d="M26 28c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm-4-4c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm12-8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Zm-4 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm4-4c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm-4-4c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm-4-4c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z" id="b"/></defs><g fill="none" fill-rule="evenodd"><circle fill="url(#a)" cx="28" cy="28" r="28"/><use fill="#FFF" xlink:href="#b"/></g></svg>
|
After Width: | Height: | Size: 813 B |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="56" height="56" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="a"><stop stop-color="#FF6F48" offset="0%"/><stop stop-color="#F02AA6" offset="100%"/></linearGradient><path d="M16 0H2C.9 0 0 .9 0 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2Zm0 16L9 8v8H2l7-8V2h7v14Z" id="b"/></defs><g fill="none" fill-rule="evenodd"><circle fill="url(#a)" cx="28" cy="28" r="28"/><use fill="#FFF" xlink:href="#b" transform="translate(19 19)"/></g></svg>
|
After Width: | Height: | Size: 550 B |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="56" height="56" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="a"><stop stop-color="#FF6F48" offset="0%"/><stop stop-color="#F02AA6" offset="100%"/></linearGradient><path d="m31 18 1.83 2H36c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H20c-1.1 0-2-.9-2-2V22c0-1.1.9-2 2-2h3.17L25 18h6Zm-3 5c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5Zm0 1.8a3.2 3.2 0 1 1 0 6.4 3.2 3.2 0 0 1 0-6.4Z" id="b"/></defs><g fill="none" fill-rule="evenodd"><circle fill="url(#a)" cx="28" cy="28" r="28"/><use fill="#FFF" xlink:href="#b"/></g></svg>
|
After Width: | Height: | Size: 626 B |
After Width: | Height: | Size: 73 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 279 KiB |
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 72 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 135 KiB |
After Width: | Height: | Size: 40 KiB |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="112" height="29" xmlns="http://www.w3.org/2000/svg"><g fill="#13183F"><path d="M9.684 28.432c-2.16 0-4.038-.51-5.634-1.53S1.368 24.508.792 22.78l3.96-1.872c.504 1.056 1.188 1.884 2.052 2.484.864.6 1.824.9 2.88.9.768 0 1.356-.156 1.764-.468.408-.312.612-.744.612-1.296 0-.288-.072-.534-.216-.738-.144-.204-.36-.39-.648-.558a4.593 4.593 0 0 0-1.08-.432l-3.348-.936C5.16 19.408 3.924 18.67 3.06 17.65c-.864-1.02-1.296-2.226-1.296-3.618 0-1.224.312-2.292.936-3.204.624-.912 1.5-1.626 2.628-2.142 1.128-.516 2.424-.774 3.888-.774 1.92 0 3.606.45 5.058 1.35 1.452.9 2.478 2.166 3.078 3.798l-3.996 1.872c-.288-.816-.81-1.47-1.566-1.962s-1.614-.738-2.574-.738c-.696 0-1.242.144-1.638.432-.396.288-.594.684-.594 1.188 0 .264.072.504.216.72.144.216.378.408.702.576.324.168.726.324 1.206.468l3.132.936c1.632.48 2.88 1.206 3.744 2.178.864.972 1.296 2.166 1.296 3.582 0 1.224-.318 2.292-.954 3.204-.636.912-1.518 1.626-2.646 2.142s-2.46.774-3.996.774ZM20.52 28V.748h5.4v17.46l-2.016-.648 8.676-9.216h6.66l-7.128 7.92L39.204 28h-6.12l-5.94-9.972 3.132-.792-6.012 6.552 1.656-3.132V28zM41.616 28V8.344h5.4V28h-5.4Zm0-21.42v-5.4h5.4v5.4h-5.4ZM50.976 28V.748h5.4V28zM60.336 28V.748h5.4V28zM79.164 28.432c-2.088 0-3.9-.462-5.436-1.386a9.578 9.578 0 0 1-3.564-3.726c-.84-1.56-1.26-3.288-1.26-5.184 0-1.968.438-3.72 1.314-5.256a9.821 9.821 0 0 1 3.546-3.636c1.488-.888 3.168-1.332 5.04-1.332 1.56 0 2.94.246 4.14.738 1.2.492 2.214 1.182 3.042 2.07a9.115 9.115 0 0 1 1.89 3.078c.432 1.164.648 2.43.648 3.798 0 .384-.018.762-.054 1.134-.036.372-.102.69-.198.954H73.548v-3.96h11.664l-2.556 1.872c.24-1.032.228-1.95-.036-2.754s-.726-1.44-1.386-1.908c-.66-.468-1.47-.702-2.43-.702-.936 0-1.74.228-2.412.684-.672.456-1.176 1.128-1.512 2.016-.336.888-.468 1.968-.396 3.24-.096 1.104.036 2.076.396 2.916.36.84.912 1.494 1.656 1.962.744.468 1.644.702 2.7.702.96 0 1.782-.192 2.466-.576a4.147 4.147 0 0 0 1.602-1.584l4.32 2.052c-.384.96-.99 1.8-1.818 2.52-.828.72-1.806 1.278-2.934 1.674-1.128.396-2.364.594-3.708.594Zm21.78 0c-1.92 0-3.636-.456-5.148-1.368a9.932 9.932 0 0 1-3.582-3.708c-.876-1.56-1.314-3.288-1.314-5.184 0-1.92.444-3.654 1.332-5.202a10.112 10.112 0 0 1 3.6-3.69c1.512-.912 3.204-1.368 5.076-1.368 1.44 0 2.718.27 3.834.81s1.998 1.302 2.646 2.286l-.828 1.08V.748h5.4V28h-5.04v-3.6l.504 1.116c-.672.96-1.584 1.686-2.736 2.178-1.152.492-2.4.738-3.744.738Zm.648-4.86c.984 0 1.848-.228 2.592-.684a4.715 4.715 0 0 0 1.746-1.908c.42-.816.63-1.752.63-2.808 0-1.056-.21-1.992-.63-2.808a4.715 4.715 0 0 0-1.746-1.908c-.744-.456-1.608-.684-2.592-.684s-1.866.234-2.646.702a4.877 4.877 0 0 0-1.818 1.908c-.432.804-.648 1.734-.648 2.79s.216 1.992.648 2.808a4.721 4.721 0 0 0 1.818 1.908c.78.456 1.662.684 2.646.684Z"/></g></svg>
|
After Width: | Height: | Size: 2.7 KiB |
|
@ -0,0 +1 @@
|
||||||
|
<svg width="112" height="29" xmlns="http://www.w3.org/2000/svg"><g fill="#FFF"><path d="M9.684 28.432c-2.16 0-4.038-.51-5.634-1.53S1.368 24.508.792 22.78l3.96-1.872c.504 1.056 1.188 1.884 2.052 2.484.864.6 1.824.9 2.88.9.768 0 1.356-.156 1.764-.468.408-.312.612-.744.612-1.296 0-.288-.072-.534-.216-.738-.144-.204-.36-.39-.648-.558a4.593 4.593 0 0 0-1.08-.432l-3.348-.936C5.16 19.408 3.924 18.67 3.06 17.65c-.864-1.02-1.296-2.226-1.296-3.618 0-1.224.312-2.292.936-3.204.624-.912 1.5-1.626 2.628-2.142 1.128-.516 2.424-.774 3.888-.774 1.92 0 3.606.45 5.058 1.35 1.452.9 2.478 2.166 3.078 3.798l-3.996 1.872c-.288-.816-.81-1.47-1.566-1.962s-1.614-.738-2.574-.738c-.696 0-1.242.144-1.638.432-.396.288-.594.684-.594 1.188 0 .264.072.504.216.72.144.216.378.408.702.576.324.168.726.324 1.206.468l3.132.936c1.632.48 2.88 1.206 3.744 2.178.864.972 1.296 2.166 1.296 3.582 0 1.224-.318 2.292-.954 3.204-.636.912-1.518 1.626-2.646 2.142s-2.46.774-3.996.774ZM20.52 28V.748h5.4v17.46l-2.016-.648 8.676-9.216h6.66l-7.128 7.92L39.204 28h-6.12l-5.94-9.972 3.132-.792-6.012 6.552 1.656-3.132V28zM41.616 28V8.344h5.4V28h-5.4Zm0-21.42v-5.4h5.4v5.4h-5.4ZM50.976 28V.748h5.4V28zM60.336 28V.748h5.4V28zM79.164 28.432c-2.088 0-3.9-.462-5.436-1.386a9.578 9.578 0 0 1-3.564-3.726c-.84-1.56-1.26-3.288-1.26-5.184 0-1.968.438-3.72 1.314-5.256a9.821 9.821 0 0 1 3.546-3.636c1.488-.888 3.168-1.332 5.04-1.332 1.56 0 2.94.246 4.14.738 1.2.492 2.214 1.182 3.042 2.07a9.115 9.115 0 0 1 1.89 3.078c.432 1.164.648 2.43.648 3.798 0 .384-.018.762-.054 1.134-.036.372-.102.69-.198.954H73.548v-3.96h11.664l-2.556 1.872c.24-1.032.228-1.95-.036-2.754s-.726-1.44-1.386-1.908c-.66-.468-1.47-.702-2.43-.702-.936 0-1.74.228-2.412.684-.672.456-1.176 1.128-1.512 2.016-.336.888-.468 1.968-.396 3.24-.096 1.104.036 2.076.396 2.916.36.84.912 1.494 1.656 1.962.744.468 1.644.702 2.7.702.96 0 1.782-.192 2.466-.576a4.147 4.147 0 0 0 1.602-1.584l4.32 2.052c-.384.96-.99 1.8-1.818 2.52-.828.72-1.806 1.278-2.934 1.674-1.128.396-2.364.594-3.708.594Zm21.78 0c-1.92 0-3.636-.456-5.148-1.368a9.932 9.932 0 0 1-3.582-3.708c-.876-1.56-1.314-3.288-1.314-5.184 0-1.92.444-3.654 1.332-5.202a10.112 10.112 0 0 1 3.6-3.69c1.512-.912 3.204-1.368 5.076-1.368 1.44 0 2.718.27 3.834.81s1.998 1.302 2.646 2.286l-.828 1.08V.748h5.4V28h-5.04v-3.6l.504 1.116c-.672.96-1.584 1.686-2.736 2.178-1.152.492-2.4.738-3.744.738Zm.648-4.86c.984 0 1.848-.228 2.592-.684a4.715 4.715 0 0 0 1.746-1.908c.42-.816.63-1.752.63-2.808 0-1.056-.21-1.992-.63-2.808a4.715 4.715 0 0 0-1.746-1.908c-.744-.456-1.608-.684-2.592-.684s-1.866.234-2.646.702a4.877 4.877 0 0 0-1.818 1.908c-.432.804-.648 1.734-.648 2.79s.216 1.992.648 2.808a4.721 4.721 0 0 0 1.818 1.908c.78.456 1.662.684 2.646.684Z"/></g></svg>
|
After Width: | Height: | Size: 2.6 KiB |
|
@ -0,0 +1,52 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon-32x32.png">
|
||||||
|
|
||||||
|
<title>Frontend Mentor | Skilled e-learning landing page</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
Get Started
|
||||||
|
|
||||||
|
Maximize skill, minimize budget
|
||||||
|
|
||||||
|
Our modern courses across a range of in-demand skills will give you the
|
||||||
|
knowledge you need to live the life you want.
|
||||||
|
|
||||||
|
Get Started
|
||||||
|
|
||||||
|
Check out our most popular courses!
|
||||||
|
|
||||||
|
Animation
|
||||||
|
Learn the latest animation techniques to create stunning motion
|
||||||
|
design and captivate your audience.
|
||||||
|
Get Started
|
||||||
|
|
||||||
|
Design
|
||||||
|
Create beautiful, usable interfaces to help shape the future of
|
||||||
|
how the web looks.
|
||||||
|
Get Started
|
||||||
|
|
||||||
|
Photography
|
||||||
|
Explore critical fundamentals like lighting, composition, and focus
|
||||||
|
to capture exceptional photos.
|
||||||
|
Get Started
|
||||||
|
|
||||||
|
Crypto
|
||||||
|
All you need to know to get started investing in crypto. Go from beginner
|
||||||
|
to advanced with this 54 hour course.
|
||||||
|
Get Started
|
||||||
|
|
||||||
|
Business
|
||||||
|
A step-by-step playbook to help you start, scale, and sustain your business
|
||||||
|
without outside investment.
|
||||||
|
Get Started
|
||||||
|
|
||||||
|
Get Started
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
After Width: | Height: | Size: 900 B |