- View the optimal layout for the component depending on their device's screen size (mobile 345px and desktop 1440px)
- See hover states for all interactive elements on the page
- Hide/Show the answer to a question when the question is clicked
I'm refactoring the code but I've improved some animations, the HTML semantics and some of the JavaScript code that you can check in the other branches I created for the project.
-
Live Site URL: https://albavidalm.github.io/FAQ-accordion-card/
- Semantic HTML5 markup
- CSS custom properties
- Sass
- Flexbox
- Animations
- JavaScript
- Mobile-first workflow
I refreshed my CSS, Sass and JavaScript skills and experimented with the Live Saas Compiler plugin for VSC (absolutely in love with it).
I'm specially proud of the animated box on the Desktop layout where I worked hard with the "position" properties.
Thanks to my friend Nur for helping me out of the bad loops.
- GitHub: https://github.com/albavidalm
- Email: albavidalm @ gmail.com
- Linkedin: https://www.linkedin.com/in/albavidalm/
Sharing is caring, contributions and suggestions are always welcome.