dovanaite / frontend_mentor_challenge_3 Goto Github PK
View Code? Open in Web Editor NEWFAQ accordion card
Home Page: https://dovanaite.github.io/Frontend_Mentor_Challenge_3/
FAQ accordion card
Home Page: https://dovanaite.github.io/Frontend_Mentor_Challenge_3/
# Frontend Mentor - FAQ accordion card solution This is a solution to the [FAQ accordion card challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/faq-accordion-card-XlyjD0Oam). Frontend Mentor challenges help to improve coding skills by building realistic projects. The challenge was to build out FAQ accordion card and get it looking as close to the design as possible. 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 ## Table of contents - [Overview](#overview) - [The challenge](#the-challenge) - [Links](#links) - [My process](#my-process) - [Built with](#built-with) - [What I learned](#what-i-learned) - [Useful resources](#useful-resources) - [Author](#author) ## Overview ### The challenge 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 ### Links - Solution URL: [Add solution URL here](https://www.frontendmentor.io/challenges/faq-accordion-card-XlyjD0Oam) - 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 ### What I learned Since I am just a beginner, this challenge was quite a thing for me. It took me quite a long time, few attempts and many different approaches to complete it. It is not perfect but I am happy with what I achieved (f.e. I shortened my code from 120 to only 27 lines!). I struggled most with figuring out where to put "addeventlisteners" to make paragraphs appears one by one. I have also overwrote CSS two times - after finishing style for mobile application, I found out that I didn't take into consideration some parts that were going to be necessary for desktop design. However, as people say, you learn from your mistakes :) And this challenge was a great example how much you learn and improve by doing and finding your mistakes. ### Useful resources - [A Complete Guide to Flexbox](https://css-tricks.com/snippets/css/a-guide-to-flexbox/) - As always, a great resource for mastering flexbox. - [Udemy](https://www.udemy.com/course/the-complete-javascript-course/) - This course is helping me to understand JavaScript more. Great teacher with great lessons, projects and examples. - [MDN](https://developer.mozilla.org/en-US/) - Useful information with recent updates. ## Author - GitHub - [Add your name here](https://github.com/dovanaite) - Frontend Mentor - [@dovanaite](https://www.frontendmentor.io/profile/dovanaite)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.