diff --git a/FrontendMentor/article-preview-component-master/.gitignore b/FrontendMentor/article-preview-component-master/.gitignore new file mode 100644 index 0000000..496ee2c --- /dev/null +++ b/FrontendMentor/article-preview-component-master/.gitignore @@ -0,0 +1 @@ +.DS_Store \ No newline at end of file diff --git a/FrontendMentor/article-preview-component-master/README.md b/FrontendMentor/article-preview-component-master/README.md new file mode 100644 index 0000000..41e47b3 --- /dev/null +++ b/FrontendMentor/article-preview-component-master/README.md @@ -0,0 +1,82 @@ +# Frontend Mentor - Article preview component + +![Design preview for the Article preview component coding challenge](./design/desktop-preview.jpg) + +## Welcome! 👋 + +Thanks for checking out this front-end coding challenge. + +[Frontend Mentor](https://www.frontendmentor.io) challenges allow you to improve your skills in a real-life workflow. + +**To do this challenge, you need a basic understanding of HTML, CSS and a tiny bit of JavaScript.** + +## The challenge + +Your challenge is to build out this article preview 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. + +The only JavaScript you'll need for this challenge is to initiate the share options when someone clicks the share icon. + +Your users should be able to: + +- View the optimal layout for the component depending on their device's screen size +- See the social media share links when they click the share icon + +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 to work to. + +The designs are in JPG static format. This will mean that you'll need to use your best judgment for styles such as `font-size`, `padding` and `margin`. This should help train your eye to perceive differences in spacings and sizes. + +If you would like the Sketch file in order to inspect the design in more detail it is available to buy from the challenge page on the platform. + +You will find all the required assets in the `/images` folder. The assets are already optimized. + +There is also a `style-guide.md` file, which contains 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/). This will make it easier to share your code with the community if you need some 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 URL. 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, but we recommend using [Vercel](https://bit.ly/fem-vercel). We've got more information about deploying your project with Vercel 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 that you could create to make 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. +7. If you'd like to try making your project fully responsive, we'd recommend checking out [Sizzy](https://bit.ly/fm-sizzy). It's a great browser that makes it easy to view your site across multiple devices. + +## Deploying your project + +As mentioned above, there are a number of ways to host your project for free. We recommend using [Vercel](https://bit.ly/fem-vercel) as it's an amazing service and extremely simple to get set up with. If you'd like to use Vercel, here are some steps to follow to get started: + +1. [Sign up to Vercel](https://bit.ly/fem-vercel-signup) and go through the onboarding flow, ensuring your GitHub account is connected by using their [Vercel for GitHub](https://vercel.com/docs/v2/git-integrations/vercel-for-github) integration. +2. Connect your project to Vercel from the ["Import project" page](https://vercel.com/import), using the "From Git Repository" button and selecting the project you want to deploy. +3. Once connected, every time you `git push`, Vercel will create a new [deployment](https://vercel.com/docs/v2/platform/deployments) and the deployment URL will be shown on your [Dashboard](https://vercel.com/dashboard). You will also receive an email for each deployment with the URL. + +## Sharing your solution + +There are multiple places you can share your solution: + +1. Submit it on the platform so that other users will see your solution on the site. Here's our ["Complete guide to submitting solutions"](https://medium.com/frontend-mentor/a-complete-guide-to-submitting-solutions-on-frontend-mentor-ac6384162248) to help you do that. +2. Share your solution page in the **#finished-projects** channel of the [Slack community](https://www.frontendmentor.io/slack). +3. 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. + +## Giving feedback + +Feedback is always welcome, so if you have any to give on this challenge 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!** 🚀 + +## Community Sponsors + +A massive thank you to our community sponsors! + +- [Sizzy](https://bit.ly/fm-sizzy) is an extremely useful browser designed specifically to improve a developer's workflow when building websites. You can fire up multiple device emulators and run them all in sync while building out your web pages. Perfect for helping build fully responsive websites! +- [Diversify Tech](https://bit.ly/fem-diversify-tech) is an amazing resource for underrepresented people in tech. The site features job listings for anyone seeking new opportunities. The resource section is also full of useful links for you to dive into. +- [Dracula PRO](https://bit.ly/fem-dracula) is a beautiful dark theme to help keep you focused and productive while you code. The theme isn't just for your editor either. You can also apply it to your most-used apps like your terminal and even Slack! diff --git a/FrontendMentor/article-preview-component-master/design/desktop-active-state.jpg b/FrontendMentor/article-preview-component-master/design/desktop-active-state.jpg new file mode 100644 index 0000000..86e95c9 Binary files /dev/null and b/FrontendMentor/article-preview-component-master/design/desktop-active-state.jpg differ diff --git a/FrontendMentor/article-preview-component-master/design/desktop-design.jpg b/FrontendMentor/article-preview-component-master/design/desktop-design.jpg new file mode 100644 index 0000000..435c175 Binary files /dev/null and b/FrontendMentor/article-preview-component-master/design/desktop-design.jpg differ diff --git a/FrontendMentor/article-preview-component-master/design/desktop-preview.jpg b/FrontendMentor/article-preview-component-master/design/desktop-preview.jpg new file mode 100644 index 0000000..37c18c7 Binary files /dev/null and b/FrontendMentor/article-preview-component-master/design/desktop-preview.jpg differ diff --git a/FrontendMentor/article-preview-component-master/design/mobile-active-state.jpg b/FrontendMentor/article-preview-component-master/design/mobile-active-state.jpg new file mode 100644 index 0000000..ef2479f Binary files /dev/null and b/FrontendMentor/article-preview-component-master/design/mobile-active-state.jpg differ diff --git a/FrontendMentor/article-preview-component-master/design/mobile-design.jpg b/FrontendMentor/article-preview-component-master/design/mobile-design.jpg new file mode 100644 index 0000000..d6b1f47 Binary files /dev/null and b/FrontendMentor/article-preview-component-master/design/mobile-design.jpg differ diff --git a/FrontendMentor/article-preview-component-master/images/avatar-michelle.jpg b/FrontendMentor/article-preview-component-master/images/avatar-michelle.jpg new file mode 100644 index 0000000..daf9857 Binary files /dev/null and b/FrontendMentor/article-preview-component-master/images/avatar-michelle.jpg differ diff --git a/FrontendMentor/article-preview-component-master/images/drawers.jpg b/FrontendMentor/article-preview-component-master/images/drawers.jpg new file mode 100644 index 0000000..9104d7f Binary files /dev/null and b/FrontendMentor/article-preview-component-master/images/drawers.jpg differ diff --git a/FrontendMentor/article-preview-component-master/images/favicon-32x32.png b/FrontendMentor/article-preview-component-master/images/favicon-32x32.png new file mode 100644 index 0000000..1e2df7f Binary files /dev/null and b/FrontendMentor/article-preview-component-master/images/favicon-32x32.png differ diff --git a/FrontendMentor/article-preview-component-master/images/icon-facebook.svg b/FrontendMentor/article-preview-component-master/images/icon-facebook.svg new file mode 100644 index 0000000..0704bd5 --- /dev/null +++ b/FrontendMentor/article-preview-component-master/images/icon-facebook.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/FrontendMentor/article-preview-component-master/images/icon-pinterest.svg b/FrontendMentor/article-preview-component-master/images/icon-pinterest.svg new file mode 100644 index 0000000..c58f2e2 --- /dev/null +++ b/FrontendMentor/article-preview-component-master/images/icon-pinterest.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/FrontendMentor/article-preview-component-master/images/icon-share.svg b/FrontendMentor/article-preview-component-master/images/icon-share.svg new file mode 100644 index 0000000..9146496 --- /dev/null +++ b/FrontendMentor/article-preview-component-master/images/icon-share.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/FrontendMentor/article-preview-component-master/images/icon-twitter.svg b/FrontendMentor/article-preview-component-master/images/icon-twitter.svg new file mode 100644 index 0000000..2daf30b --- /dev/null +++ b/FrontendMentor/article-preview-component-master/images/icon-twitter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/FrontendMentor/article-preview-component-master/index.html b/FrontendMentor/article-preview-component-master/index.html new file mode 100644 index 0000000..400e7ab --- /dev/null +++ b/FrontendMentor/article-preview-component-master/index.html @@ -0,0 +1,36 @@ + + + + + + + + + Frontend Mentor | Article preview component + + + + + + + Shift the overall look and feel by adding these wonderful + touches to furniture in your home + + Ever been in a room and felt like something was missing? Perhaps + it felt slightly bare and uninviting. I’ve got some simple tips + to help you make any room feel complete. + + Michelle Appleton + 28 Jun 2020 + + Share + +
+ Challenge by Frontend Mentor. + Coded by Your Name Here. +
+ + \ No newline at end of file diff --git a/FrontendMentor/article-preview-component-master/notes/process.md b/FrontendMentor/article-preview-component-master/notes/process.md new file mode 100644 index 0000000..e69de29 diff --git a/FrontendMentor/article-preview-component-master/style-guide.md b/FrontendMentor/article-preview-component-master/style-guide.md new file mode 100644 index 0000000..840c2d1 --- /dev/null +++ b/FrontendMentor/article-preview-component-master/style-guide.md @@ -0,0 +1,34 @@ +# Front-end Style Guide + +## Layout + +The designs were created to the following widths: + +- Mobile: 375px +- Desktop: 1440px + +## Colors + +- Very Dark Grayish Blue: hsl(217, 19%, 35%) +- Desaturated Dark Blue: hsl(214, 17%, 51%) +- Grayish Blue: hsl(212, 23%, 69%) +- Light Grayish Blue: hsl(210, 46%, 95%) + +## Typography + +### Body Copy + +- Font size: 13px + +### Headings + +- Family: [Manrope](https://fonts.google.com/specimen/Manrope) +- Weights: 500, 700 + +## Icons + +We provide SVGs for the social icons. But please feel free to use a font icon library if you like. Some suggestions can be found below: + +- [Font Awesome](https://fontawesome.com) +- [IcoMoon](https://icomoon.io) +- [Ionicons](https://ionicons.com) \ No newline at end of file