diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/.gitignore b/public/Projects/AmanTyagi/faq-accordion/Code files/.gitignore new file mode 100644 index 0000000..6233ce4 --- /dev/null +++ b/public/Projects/AmanTyagi/faq-accordion/Code files/.gitignore @@ -0,0 +1,17 @@ +# Avoid accidental Sketch file upload +############################################### +## Please do not remove line 5 - thanks! 🙂 ## +############################################### +*.sketch + +# Avoid accidental XD or Figma upload if you convert the design file +####################################################### +## Please do not remove lines 11 and 12 - thanks! 🙂 ## +####################################################### +*.xd +*.fig + +# Avoid your project being littered with annoying .DS_Store files! +.DS_Store + +.prettierignore \ No newline at end of file diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/README.md b/public/Projects/AmanTyagi/faq-accordion/Code files/README.md new file mode 100644 index 0000000..ba78518 --- /dev/null +++ b/public/Projects/AmanTyagi/faq-accordion/Code files/README.md @@ -0,0 +1,80 @@ +# Frontend Mentor - FAQ Accordion Card + +![Design preview for the FAQ Accordion Card 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 JavaScript.** + +## The challenge + +Your challenge is to build out this FAQ accordion card 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 component depending on their device's screen size +- See hover states for all interactive elements on the page +- Hide/Show the answer to a question when the question is clicked + +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 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, 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. + +## 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! + +- [Zero to Mastery](https://bit.ly/fem-ztm) is an incredible learning resource for all things web development. Led by Andrei Neagoie, the courses are really high-quality content and cover a wide range of in-demand skills. +- [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 to dive into! +- [Triplebyte](http://bit.ly/fem-triplebyte) is a really nice offering if you're looking for a new role. It's a free service that lets you take a confidential quiz. Based on your results companies will pitch you for their vacant roles! diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/basicStyles.css b/public/Projects/AmanTyagi/faq-accordion/Code files/basicStyles.css new file mode 100644 index 0000000..514bc1c --- /dev/null +++ b/public/Projects/AmanTyagi/faq-accordion/Code files/basicStyles.css @@ -0,0 +1,63 @@ +@import url("https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap"); + +:root { + --gradient-golden: linear-gradient(175deg, #e1cd87, #ca9d4b); + --gradient-dark: linear-gradient(150deg, #111111, #000000); + --gradient-black: linear-gradient(150deg, #222222, #000000); + --gold: #666666; + --text-gold: #fdbc53; + --light: #fefefe; + --semi-dark: #999999; + --black: #111111; + --primary-color: #1e41b480; + --overlay-color: #1e9eb4d0; + --ham-speed: 0.75s; +} + +::-webkit-scrollbar { + width: 10px; +} + +::-webkit-scrollbar-track { + background: var(--black); + border-left: 1px solid var(--gold); +} + +::-webkit-scrollbar-thumb { + background: var(--gradient-golden); + border-radius: 6px; +} + +::-webkit-scrollbar-thumb:hover { + background: var(--gold); +} + +*, +*:before, +*:after { + -webkit-tap-highlight-color: transparent; + box-sizing: border-box; + margin: 0; + padding: 0; + border: none; +} + +html { + scroll-behavior: smooth; +} + +body, +main { + min-height: 100vh; + width: 100%; + font-family: "Kumbh Sans", sans-serif; +} + +ul { + list-style: none; +} + +a { + text-decoration: none; + cursor: pointer; +} diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/design/active-states.jpg b/public/Projects/AmanTyagi/faq-accordion/Code files/design/active-states.jpg new file mode 100644 index 0000000..9cec5ce Binary files /dev/null and b/public/Projects/AmanTyagi/faq-accordion/Code files/design/active-states.jpg differ diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/design/desktop-design.jpg b/public/Projects/AmanTyagi/faq-accordion/Code files/design/desktop-design.jpg new file mode 100644 index 0000000..995eedb Binary files /dev/null and b/public/Projects/AmanTyagi/faq-accordion/Code files/design/desktop-design.jpg differ diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/design/desktop-preview.jpg b/public/Projects/AmanTyagi/faq-accordion/Code files/design/desktop-preview.jpg new file mode 100644 index 0000000..60b5f17 Binary files /dev/null and b/public/Projects/AmanTyagi/faq-accordion/Code files/design/desktop-preview.jpg differ diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/design/mobile-design.jpg b/public/Projects/AmanTyagi/faq-accordion/Code files/design/mobile-design.jpg new file mode 100644 index 0000000..0439d55 Binary files /dev/null and b/public/Projects/AmanTyagi/faq-accordion/Code files/design/mobile-design.jpg differ diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/images/bg-pattern-desktop.svg b/public/Projects/AmanTyagi/faq-accordion/Code files/images/bg-pattern-desktop.svg new file mode 100644 index 0000000..0e7083c --- /dev/null +++ b/public/Projects/AmanTyagi/faq-accordion/Code files/images/bg-pattern-desktop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/images/bg-pattern-mobile.svg b/public/Projects/AmanTyagi/faq-accordion/Code files/images/bg-pattern-mobile.svg new file mode 100644 index 0000000..63e033b --- /dev/null +++ b/public/Projects/AmanTyagi/faq-accordion/Code files/images/bg-pattern-mobile.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/images/favicon-32x32.png b/public/Projects/AmanTyagi/faq-accordion/Code files/images/favicon-32x32.png new file mode 100644 index 0000000..1e2df7f Binary files /dev/null and b/public/Projects/AmanTyagi/faq-accordion/Code files/images/favicon-32x32.png differ diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/images/icon-arrow-down.svg b/public/Projects/AmanTyagi/faq-accordion/Code files/images/icon-arrow-down.svg new file mode 100644 index 0000000..3dcb6ec --- /dev/null +++ b/public/Projects/AmanTyagi/faq-accordion/Code files/images/icon-arrow-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/images/illustration-box-desktop.svg b/public/Projects/AmanTyagi/faq-accordion/Code files/images/illustration-box-desktop.svg new file mode 100644 index 0000000..16791c5 --- /dev/null +++ b/public/Projects/AmanTyagi/faq-accordion/Code files/images/illustration-box-desktop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/images/illustration-woman-online-desktop.svg b/public/Projects/AmanTyagi/faq-accordion/Code files/images/illustration-woman-online-desktop.svg new file mode 100644 index 0000000..6bca509 --- /dev/null +++ b/public/Projects/AmanTyagi/faq-accordion/Code files/images/illustration-woman-online-desktop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/images/illustration-woman-online-mobile.svg b/public/Projects/AmanTyagi/faq-accordion/Code files/images/illustration-woman-online-mobile.svg new file mode 100644 index 0000000..6ad3bb7 --- /dev/null +++ b/public/Projects/AmanTyagi/faq-accordion/Code files/images/illustration-woman-online-mobile.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/index.html b/public/Projects/AmanTyagi/faq-accordion/Code files/index.html new file mode 100644 index 0000000..72bbd07 --- /dev/null +++ b/public/Projects/AmanTyagi/faq-accordion/Code files/index.html @@ -0,0 +1,178 @@ + + + + + + + + + FAQ Accordion Card | Frontend Mentor + + + + +
+
+
+
+ + + +
+ + + +
+ + +
+
+
+

FAQ

+ +
+
+
+

How many team members can I invite?

+ +
+ +
+ You can invite up to 2 additional users on the Free plan. There + is no limit on team members for the Premium plan. +
+
+ +
+
+

What is the maximum file upload size?

+ +
+ +
+ No more than 2GB. All files in your account must fit your + allotted storage space. +
+
+ +
+
+

How do I reset my password?

+ +
+ +
+ Click “Forgot password” from the login page or “Change password” + from your profile page. A reset link will be emailed to you. +
+
+ +
+
+

Can I cancel my subscription?

+ +
+ +
+ Yes! Send us a message and we’ll process your request no + questions asked. +
+
+ +
+
+

Do you provide additional support?

+ +
+ +
+ Chat and email support is available 24/7. Phone lines are open + during normal business hours. +
+
+
+
+
+
+ +
+ Challenge by + Frontend Mentor. Coded by Aman Tyagi. +
+ + + + diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/style-guide.md b/public/Projects/AmanTyagi/faq-accordion/Code files/style-guide.md new file mode 100644 index 0000000..a1267ac --- /dev/null +++ b/public/Projects/AmanTyagi/faq-accordion/Code files/style-guide.md @@ -0,0 +1,46 @@ +# Front-end Style Guide + +## Layout + +The designs were created to the following widths: + +- Mobile: 375px +- Desktop: 1440px + +## Colors + +### Primary + +#### Text + +- Very dark desaturated blue: hsl(238, 29%, 16%) +- Soft red: hsl(14, 88%, 65%) + +#### Gradient + +Background gradient: + +- Soft violet: hsl(273, 75%, 66%) +- Soft blue: hsl(240, 73%, 65%) + +### Neutral + +#### Text + +- Very dark grayish blue: hsl(237, 12%, 33%) +- Dark grayish blue: hsl(240, 6%, 50%) + +#### Dividers + +- Light grayish blue: hsl(240, 5%, 91%) + +## Typography + +### Body Copy + +- Font size: 12px + +### Font + +- Family: [Kumbh Sans](https://fonts.google.com/specimen/Kumbh+Sans) +- Weights: 400, 700 diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/style.css b/public/Projects/AmanTyagi/faq-accordion/Code files/style.css new file mode 100644 index 0000000..9159f36 --- /dev/null +++ b/public/Projects/AmanTyagi/faq-accordion/Code files/style.css @@ -0,0 +1,310 @@ +@import url("https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap"); + +:root { + --gradient-golden: linear-gradient(175deg, #e1cd87, #ca9d4b); + --gradient-dark: linear-gradient(150deg, #111111, #000000); + --gradient-black: linear-gradient(150deg, #222222, #000000); + --gold: #666666; + --black: #111111; + + --Verydarkdesaturatedblue: hsl(238, 29%, 16%); + --Softred: hsl(14, 88%, 65%); + --Softviolet: hsl(273, 75%, 66%); + --Softblue: hsl(240, 73%, 65%); + --Verydarkgrayishblue: hsl(237, 12%, 33%); + --Darkgrayishblue: hsl(240, 6%, 50%); + --Lightgrayishblue: hsl(240, 5%, 91%); +} + +::-webkit-scrollbar { + width: 10px; +} + +::-webkit-scrollbar-track { + background: var(--black); + border-left: 1px solid var(--gold); +} + +::-webkit-scrollbar-thumb { + background: var(--gradient-golden); + border-radius: 6px; +} + +::-webkit-scrollbar-thumb:hover { + background: var(--gold); +} + +*, +*:before, +*:after { + -webkit-tap-highlight-color: transparent; + box-sizing: border-box; + margin: 0; + padding: 0; + border: none; + outline: none; +} + +html { + box-sizing: border-box; + scroll-behavior: smooth; +} + +body { + font-family: "Kumbh Sans", sans-serif; + color: var(--text); + height: 100vh; + min-height: 100vh; + background: linear-gradient(to bottom, var(--Softviolet), var(--Softblue)); +} + +ul { + list-style: none; +} + +a { + text-decoration: none; + cursor: pointer; +} + +.dp-flex { + display: flex; +} + +.justify-center { + justify-content: center; +} + +.align-center { + align-items: center; +} + +.basic-transition { + transition: 0.4s ease; +} + +.self-center { + position: relative; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} + +main { + height: 100%; + width: 100%; +} + +.main { + width: 60%; + max-width: 70rem; + height: 27rem; + border-radius: 1rem; + background: white; +} + +.illustration { + position: relative; + border-radius: 1rem 0 0 1rem; + width: 50%; + overflow: hidden; +} + +.illustration-mobile { + display: none; +} + +.bg-pattern { + position: absolute; + right: 3rem; + bottom: -8rem; + height: 180%; +} + +.bg-pattern-mobile, +.illustration-woman-mobile { + display: none; +} + +.illustration-women { + position: absolute; + bottom: 10%; + right: 3rem; + width: 100%; +} + +.illustration-Box { + position: absolute; + bottom: 4.5rem; + left: -5rem; + transition: 0.6s ease; +} + +.faq { + overflow: auto; + width: 50%; + flex-direction: column; + padding: 1rem 0; +} + +.faq h2 { + width: 100%; + margin: 3rem 0 0.5rem; + text-align: left; +} + +.qna { + width: 80%; + text-align: left; + font-size: 14px; + border-bottom: 1px solid var(--Lightgrayishblue); + padding: 0.5rem 0; +} + +.question { + color: var(--Verydarkgrayishblue); + cursor: pointer; + padding: 0.5rem 0; + width: 100%; + border: none; + text-align: left; + transition: 0.6s ease; + justify-content: space-between; +} + +.arrowDown { + transition: 0.5s ease; +} + +.question:hover { + color: var(--Softred); +} + +.active.question { + font-weight: 700; + color: var(--Verydarkdesaturatedblue); +} + +.active.question .arrowDown { + transform: rotate(180deg); +} + +.answer { + background-color: white; + max-height: 0; + overflow: hidden; + color: var(--Darkgrayishblue); + transition: all 0.4s ease-out; +} + +.activeBox { + transform: translateX(-3rem); +} + +@media screen and (max-width: 768px) { + .main { + width: 90%; + max-width: 70rem; + height: 100%; + border-radius: 1rem; + background: white; + flex-direction: column; + } + + .illustration { + width: 100%; + overflow: visible; + } + + .bg-pattern { + display: none; + } + + .illustration-desktop { + display: none; + } + + .illustration-mobile { + position: relative; + display: block; + } + + .bg-pattern-mobile, + .illustration-woman-mobile { + position: absolute; + top: 0%; + left: 0; + } + + .illustration-women { + display: none; + } + + .illustration-Box { + position: absolute; + bottom: 4.5rem; + left: -5rem; + transition: 0.6s ease; + } + + .faq { + overflow: auto; + width: 100%; + flex-direction: column; + padding: 1rem 0; + } + + .faq h2 { + width: 100%; + margin: 3rem 0 0.5rem; + text-align: left; + } + + .qna { + width: 80%; + text-align: left; + font-size: 14px; + border-bottom: 1px solid var(--Lightgrayishblue); + padding: 0.5rem 0; + } + + .question { + color: var(--Verydarkgrayishblue); + cursor: pointer; + padding: 0.5rem 0; + width: 100%; + border: none; + text-align: left; + transition: 0.6s ease; + justify-content: space-between; + } + + .arrowDown { + transition: 0.5s ease; + } + + .question:hover { + color: var(--Softred); + } + + .active.question { + font-weight: 700; + color: var(--Verydarkdesaturatedblue); + } + + .active.question .arrowDown { + transform: rotate(180deg); + } + + .answer { + background-color: white; + max-height: 0; + overflow: hidden; + color: var(--Darkgrayishblue); + transition: all 0.4s ease-out; + } + + .activeBox { + transform: translateX(-3rem); + } +} diff --git a/public/Projects/AmanTyagi/faq-accordion/Code files/styles.css b/public/Projects/AmanTyagi/faq-accordion/Code files/styles.css new file mode 100644 index 0000000..32125af --- /dev/null +++ b/public/Projects/AmanTyagi/faq-accordion/Code files/styles.css @@ -0,0 +1,235 @@ +:root { + --verydarkdesaturatedblue: hsl(238, 29%, 16%); + --softred: hsl(14, 88%, 65%); + --softviolet: hsl(273, 75%, 66%); + --softblue: hsl(240, 73%, 65%); + --verydarkgrayishblue: hsl(237, 12%, 33%); + --darkgrayishblue: hsl(240, 6%, 50%); + --lightgrayishblue: hsl(240, 5%, 91%); +} + +main { + background: linear-gradient(to bottom, var(--softviolet), var(--softblue)); + overflow: auto; + padding: 10rem 0 5rem; +} + +.card { + background: white; + width: clamp(50%, 45rem, 90%); + display: flex; + flex-direction: column; + border-radius: 1rem; + margin: auto; +} + +.illustrationDesktop { + display: none; +} + +.illustrationMobile { + display: block; + position: relative; + height: 5rem; + overflow: visible; +} + +.woman-mobile, +.bg-pattern-mobile { + position: absolute; + left: 50%; + transform: translateX(-50%); +} + +.woman-mobile { + position: relative; + top: -6.5rem; + transform: translateX(-55%); +} + +h2 { + font-size: 2rem; + text-align: center; + font-weight: 700; +} + +.faqSection { + padding: 3rem 0 1rem; +} + +.qna { + font-size: 1rem; + margin: 1.5rem; + border-bottom: 1px solid var(--lightgrayishblue); +} + +.question { + color: var(--Verydarkgrayishblue); + cursor: pointer; + margin: 1.5rem 0 1rem; + display: flex; + justify-content: space-between; + transition: 0.6s ease; + align-items: center; +} + +.arrowDown { + transition: 0.5s ease; +} + +.question:hover { + color: var(--softred); +} + +.active.question { + font-weight: 700; + color: var(--verydarkdesaturatedblue); +} + +.active.question .arrowDown { + transform: rotate(180deg); +} + +.answer { + background-color: white; + max-height: 0; + width: 90%; + overflow: hidden; + color: var(--darkgrayishblue); + transition: all 0.4s ease-out; +} + +.active.question ~ .answer { + margin: 1.5rem 0; +} + +.illustration-Box { + position: absolute; + bottom: 5rem; + left: -6rem; + transition: 0.6s ease; + display: none; +} + +.activeBox { + transform: translateX(-2rem); +} + +@media screen and (min-width: 1024px) { + .card { + flex-direction: row; + height: 25rem; + } + + .illustrationSection { + position: relative; + width: 45%; + } + + .illustrationDesktop { + position: relative; + height: 100%; + display: block; + overflow: hidden; + } + + .illustrationMobile { + display: none; + } + + .desktop-woman, + .bg-pattern-desktop { + position: absolute; + transform: translateY(50%); + width: 100%; + } + + .desktop-woman { + left: -15%; + bottom: 50%; + } + + .bg-pattern-desktop { + width: 200%; + bottom: 60%; + left: -115%; + } + + .illustration-Box { + display: block; + } + + h2 { + font-size: 1.8rem; + text-align: left; + font-weight: 700; + margin: 0 1.5rem; + } + + .faqSection { + width: 55%; + overflow: auto; + } + + .faqSection::-webkit-scrollbar { + width: 0; + } + + .qna { + font-size: 0.9rem; + margin: 1.5rem; + border-bottom: 1px solid var(--lightgrayishblue); + } + + .question { + color: var(--Verydarkgrayishblue); + cursor: pointer; + margin: 1.5rem 0 1rem; + display: flex; + justify-content: space-between; + transition: 0.6s ease; + align-items: center; + } + + .arrowDown { + transition: 0.5s ease; + } + + .question:hover { + color: var(--softred); + } + + .active.question { + font-weight: 700; + color: var(--verydarkdesaturatedblue); + } + + .active.question .arrowDown { + transform: rotate(180deg); + } + + .answer { + font-size: 0.8rem; + background-color: white; + max-height: 0; + width: 90%; + overflow: hidden; + color: var(--darkgrayishblue); + transition: all 0.4s ease-out; + } + + .active.question ~ .answer { + margin: 1.5rem 0; + } +} + +.attribution { + text-align: center; + background: linear-gradient(to bottom, var(--softviolet), var(--softblue)); + padding: 1rem 0.5rem; + color: var(--verydarkdesaturatedblue); +} + +.attribution a { + color: var(--lightgrayishblue); +} diff --git a/public/Projects/AmanTyagi/faq-accordion/deployedLink.txt b/public/Projects/AmanTyagi/faq-accordion/deployedLink.txt new file mode 100644 index 0000000..bf5715f --- /dev/null +++ b/public/Projects/AmanTyagi/faq-accordion/deployedLink.txt @@ -0,0 +1 @@ +https://amantyagi994.github.io/faq-accordion/ \ No newline at end of file diff --git a/public/Projects/AmanTyagi/faq-accordion/thumbnail.png b/public/Projects/AmanTyagi/faq-accordion/thumbnail.png new file mode 100644 index 0000000..60b5f17 Binary files /dev/null and b/public/Projects/AmanTyagi/faq-accordion/thumbnail.png differ diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/.gitignore b/public/Projects/AmanTyagi/testimonial-grid/Code files/.gitignore new file mode 100644 index 0000000..6233ce4 --- /dev/null +++ b/public/Projects/AmanTyagi/testimonial-grid/Code files/.gitignore @@ -0,0 +1,17 @@ +# Avoid accidental Sketch file upload +############################################### +## Please do not remove line 5 - thanks! 🙂 ## +############################################### +*.sketch + +# Avoid accidental XD or Figma upload if you convert the design file +####################################################### +## Please do not remove lines 11 and 12 - thanks! 🙂 ## +####################################################### +*.xd +*.fig + +# Avoid your project being littered with annoying .DS_Store files! +.DS_Store + +.prettierignore \ No newline at end of file diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/README.md b/public/Projects/AmanTyagi/testimonial-grid/Code files/README.md new file mode 100644 index 0000000..9df7cdc --- /dev/null +++ b/public/Projects/AmanTyagi/testimonial-grid/Code files/README.md @@ -0,0 +1,78 @@ +# Frontend Mentor - Testimonials grid section + +![Design preview for the Testimonials grid section 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 and CSS.** + +## The challenge + +Your challenge is to build out this testimonials grid section 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 site depending on their device's screen size + +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 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, 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. + +## 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! + +- [Zero to Mastery](https://bit.ly/fem-ztm) is an incredible learning resource for all things web development. Led by Andrei Neagoie, the courses are really high-quality content and cover a wide range of in-demand skills. +- [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 to dive into! +- [Triplebyte](http://bit.ly/fem-triplebyte) is a really nice offering if you're looking for a new role. It's a free service that lets you take a confidential quiz. Based on your results companies will pitch you for their vacant roles! diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/debug.log b/public/Projects/AmanTyagi/testimonial-grid/Code files/debug.log new file mode 100644 index 0000000..594610d --- /dev/null +++ b/public/Projects/AmanTyagi/testimonial-grid/Code files/debug.log @@ -0,0 +1 @@ +[1130/230948.184:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3) diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/design/desktop-design.jpg b/public/Projects/AmanTyagi/testimonial-grid/Code files/design/desktop-design.jpg new file mode 100644 index 0000000..5868fe0 Binary files /dev/null and b/public/Projects/AmanTyagi/testimonial-grid/Code files/design/desktop-design.jpg differ diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/design/desktop-preview.jpg b/public/Projects/AmanTyagi/testimonial-grid/Code files/design/desktop-preview.jpg new file mode 100644 index 0000000..1808af9 Binary files /dev/null and b/public/Projects/AmanTyagi/testimonial-grid/Code files/design/desktop-preview.jpg differ diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/design/mobile-design.jpg b/public/Projects/AmanTyagi/testimonial-grid/Code files/design/mobile-design.jpg new file mode 100644 index 0000000..885f8cf Binary files /dev/null and b/public/Projects/AmanTyagi/testimonial-grid/Code files/design/mobile-design.jpg differ diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/images/bg-pattern-quotation.svg b/public/Projects/AmanTyagi/testimonial-grid/Code files/images/bg-pattern-quotation.svg new file mode 100644 index 0000000..275f5d3 --- /dev/null +++ b/public/Projects/AmanTyagi/testimonial-grid/Code files/images/bg-pattern-quotation.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/images/favicon-32x32.png b/public/Projects/AmanTyagi/testimonial-grid/Code files/images/favicon-32x32.png new file mode 100644 index 0000000..1e2df7f Binary files /dev/null and b/public/Projects/AmanTyagi/testimonial-grid/Code files/images/favicon-32x32.png differ diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/images/image-daniel.jpg b/public/Projects/AmanTyagi/testimonial-grid/Code files/images/image-daniel.jpg new file mode 100644 index 0000000..e6ab019 Binary files /dev/null and b/public/Projects/AmanTyagi/testimonial-grid/Code files/images/image-daniel.jpg differ diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/images/image-jeanette.jpg b/public/Projects/AmanTyagi/testimonial-grid/Code files/images/image-jeanette.jpg new file mode 100644 index 0000000..62e8a0a Binary files /dev/null and b/public/Projects/AmanTyagi/testimonial-grid/Code files/images/image-jeanette.jpg differ diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/images/image-jonathan.jpg b/public/Projects/AmanTyagi/testimonial-grid/Code files/images/image-jonathan.jpg new file mode 100644 index 0000000..0bb02b6 Binary files /dev/null and b/public/Projects/AmanTyagi/testimonial-grid/Code files/images/image-jonathan.jpg differ diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/images/image-kira.jpg b/public/Projects/AmanTyagi/testimonial-grid/Code files/images/image-kira.jpg new file mode 100644 index 0000000..74f86b1 Binary files /dev/null and b/public/Projects/AmanTyagi/testimonial-grid/Code files/images/image-kira.jpg differ diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/images/image-patrick.jpg b/public/Projects/AmanTyagi/testimonial-grid/Code files/images/image-patrick.jpg new file mode 100644 index 0000000..31ccd57 Binary files /dev/null and b/public/Projects/AmanTyagi/testimonial-grid/Code files/images/image-patrick.jpg differ diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/index.html b/public/Projects/AmanTyagi/testimonial-grid/Code files/index.html new file mode 100644 index 0000000..eb0b6e6 --- /dev/null +++ b/public/Projects/AmanTyagi/testimonial-grid/Code files/index.html @@ -0,0 +1,144 @@ + + + + + + + + + + + + + Frontend Mentor | [Challenge Name Here] + + + + + +
+
+
+
+ +
+
Daniel Clifford
+
Verified Graduate
+
+
+
+ I received a job offer mid-course, and the subjects I learned were + current, if not more so, in the company I joined. I honestly feel I + got every penny’s worth. +
+
+ “ I was an EMT for many years before I joined the bootcamp. I’ve + been looking to make a transition and have heard some people who had + an amazing experience here. I signed up for the free intro course + and found it incredibly fun! I enrolled shortly thereafter. The next + 12 weeks was the best - and most grueling - time of my life. Since + completing the course, I’ve successfully switched careers, working + as a Software Engineer at a VR startup. ” +
+
+ +
+
+ +
+
Jonathan Walters
+
Verified Graduate
+
+
+
+ The team was very supportive and kept me motivated +
+
+ “ I started as a total newbie with virtually no coding skills. I now + work as a mobile engineer for a big company. This was one of the + best investments I’ve made in myself. ” +
+
+ +
+
+ +
+
Jeanette Harmon
+
Verified Graduate
+
+
+
+ An overall wonderful and rewarding experience +
+
+ “ Thank you for the wonderful experience! I now have a job I really + enjoy, and make a good living while doing something I love. ” +
+
+ +
+
+ +
+
Patrick Abrams
+
Verified Graduate
+
+
+
+ Awesome teaching support from TAs who did the bootcamp themselves. + Getting guidance from them and learning from their experiences was + easy. +
+
+ “ The staff seem genuinely concerned about my progress which I find + really refreshing. The program gave me the confidence necessary to + be able to go out in the world and present myself as a capable + junior developer. The standard is above the rest. You will get the + personal attention you need from an incredible community of smart + and amazing people. ” +
+
+ +
+
+ +
+
Kira Whittle
+
Verified Graduate
+
+
+
+ Such a life-changing experience. Highly recommended! +
+
+ “ Before joining the bootcamp, I’ve never written a line of code. I + needed some structure from professionals who can help me learn + programming step by step. I was encouraged to enroll by a former + student of theirs who can only say wonderful things about the + program. The entire curriculum and staff did not disappoint. They + were very hands-on and I never had to wait long for assistance. The + agile team project, in particular, was outstanding. It took my + learning to the next level in a way that no tutorial could ever + have. In fact, I’ve often referred to it during interviews as an + example of my developent experience. It certainly helped me land a + job as a full-stack developer after receiving multiple offers. 100% + recommend! ” +
+
+
+
+ +
+ Challenge by + Frontend Mentor. Coded by Aman Tyagi. +
+ + diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/style-guide.md b/public/Projects/AmanTyagi/testimonial-grid/Code files/style-guide.md new file mode 100644 index 0000000..a96a835 --- /dev/null +++ b/public/Projects/AmanTyagi/testimonial-grid/Code files/style-guide.md @@ -0,0 +1,38 @@ +# Front-end Style Guide + +## Layout + +The designs were created to the following widths: + +- Mobile: 375px +- Desktop: 1440px + +## Colors + +### Primary + +Moderate violet: hsl(263, 55%, 52%) +Very dark grayish blue: hsl(217, 19%, 35%) +Very dark blackish blue: hsl(219, 29%, 14%) +White: hsl(0, 0%, 100%) + +### Neutral + +Light gray: hsl(0, 0%, 81%) +Light grayish blue: hsl(210, 46%, 95%) + +Note for text colors: + +1. "Verified Graduate" has the same color as the person's name with 50% opacity +2. Review paragraphs inside the quotations have the same color as well, but are at 70% opacity + +## Typography + +### Body Copy + +- Font size: 13px + +### Font + +- Family: [Barlow Semi Condensed](https://fonts.google.com/specimen/Barlow+Semi+Condensed) +- Weights: 500, 600 diff --git a/public/Projects/AmanTyagi/testimonial-grid/Code files/style.css b/public/Projects/AmanTyagi/testimonial-grid/Code files/style.css new file mode 100644 index 0000000..d8e5a7a --- /dev/null +++ b/public/Projects/AmanTyagi/testimonial-grid/Code files/style.css @@ -0,0 +1,161 @@ +@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600&display=swap"); + +:root { + --moderate-violet: #7541c8; + --very-dark-grayish-blue: #48556a; + --very-dark-blackish-blue: #19212e; + --white: #ffffff; + --light-gray: #cfcfcf; + --light-grayish-blue: #ecf2f8; +} + +* { + margin: 0; + padding: 0; + border: none; + box-sizing: border-box; +} + +body { + font-family: "Barlow Semi Condensed", sans-serif; + width: 100%; +} + +main { + width: 100%; + min-height: 100vh; + display: flex; + justify-content: center; + align-items: center; + background-color: var(--light-grayish-blue); + font-size: 13px; + padding: 3rem 0; +} + +.gridContainer { + /* margin: auto; */ + /* height: 572px; */ + max-width: 1110px; + width: 90%; + display: grid; + grid-template-columns: repeat(4, 1fr); + grid-template-rows: repeat(2, 1fr); + gap: 30px; + grid-template-areas: + "a a b c" + "e d d c"; +} + +.testimonialCard { + border-radius: 0.5rem; + padding: 1.5rem 2rem; + display: flex; + flex-direction: column; + align-items: center; + justify-content: flex-start; + color: var(--white); + line-height: 1.4; +} + +.userProfile { + display: flex; + align-items: center; + margin-bottom: 1rem; +} + +.userImage { + border: 2px solid var(--light-grayish-blue); + border-radius: 50%; + height: 2rem; + width: 2rem; +} + +.testimonialCard div { + width: 100%; +} + +.user { + color: var(--white); + padding-left: 1rem; +} + +.userVerificationStatus { + opacity: 50%; +} + +.reviewHeadline { + font-weight: bold; + font-size: 1.2rem; + padding-bottom: 1rem; +} + +.reviewParagraph { + opacity: 70%; +} + +.testimonialCard1 { + grid-area: a; + background: url("./images/bg-pattern-quotation.svg") no-repeat top right 6rem; + background-color: var(--moderate-violet); + height: 282px; + width: 540px; +} +.testimonialCard2 { + width: 255px; + height: 282px; + grid-area: b; + background-color: var(--very-dark-grayish-blue); +} +.testimonialCard3 { + height: 266px; + width: 255px; + grid-area: e; + background-color: var(--white); + color: var(--very-dark-grayish-blue); +} +.testimonialCard4 { + height: 266px; + width: 540px; + grid-area: d; + background-color: var(--very-dark-blackish-blue); +} +.testimonialCard5 { + grid-area: c; + width: 255px; + height: 572px; + background-color: var(--white); + color: var(--very-dark-grayish-blue); +} + +.testimonialCard3 .user, +.testimonialCard5 .user { + color: var(--very-dark-grayish-blue); +} + +@media screen and (max-width: 1024px) { + .gridContainer { + display: flex; + flex-direction: column; + } + + .testimonialCard { + width: 100%; + height: auto; + } + + .testimonialCard1 { + background-position: top right 1rem; + } +} + +.attribution { + background: linear-gradient(175deg, #cfcfcf, #d8ebfd); + padding: 1rem; + text-align: center; + color: var(--very-dark-grayish-blue); +} + +.attribution a { + text-decoration: none; + color: var(--very-dark-blackish-blue); +} diff --git a/public/Projects/AmanTyagi/testimonial-grid/deployedLink.txt b/public/Projects/AmanTyagi/testimonial-grid/deployedLink.txt new file mode 100644 index 0000000..8ec90ab --- /dev/null +++ b/public/Projects/AmanTyagi/testimonial-grid/deployedLink.txt @@ -0,0 +1 @@ +https://amantyagi994.github.io/testimonial-grid/ \ No newline at end of file diff --git a/public/Projects/AmanTyagi/testimonial-grid/thumbnail.jpg b/public/Projects/AmanTyagi/testimonial-grid/thumbnail.jpg new file mode 100644 index 0000000..1808af9 Binary files /dev/null and b/public/Projects/AmanTyagi/testimonial-grid/thumbnail.jpg differ