Accordion (HTML, CSS and JavaScript)

Publicado em: 05 Janeiro 2020
no canal de: Coding Journey
61,511
1.6k

Learn how to create an Accordion, which is a component that organizes content within collapsible items, with HTML, CSS and JavaScript.

Accordions, allow the user to toggle between hiding and showing blocks of content with a single click, thus greatly enhancing the User Experience (UX) of your project.

In our specific example, we are using the Accordion for the Frequently Asked Questions (FAQ) part of our web page. So, the visible part of the Accordion is the question and the hidden (or collapsible) part is the answer.

As usual, we are implementing this component from scratch, with HTML, CSS and Vanilla JavaScript as an alternative to using some third-party library or framework for this purpose.

Enjoy 🙂

Don’t forget to share, like, subscribe and I would love to hear your thoughts in the comments section below!

Code for this Project: https://codepen.io/Coding_Journey/pen...

Support the Channel 💙☕🙏
PayPal: https://paypal.me/CodingJourney

Suggested Videos:
Modal with HTML, CSS and JavaScript:    • Modal with HTML, CSS and JavaScript  
CSS box-shadow Editor:    • CSS box-shadow Editor  
Simple Auto-Playing Image Slideshow (HTML, CSS and JavaScript):    • Simple Auto-Playing Image Slideshow (...  
Colorful Background with linear-gradient:    • Colorful Background with linear-gradient  
Slide-In Overlay Hover Effect (HTML & CSS):    • Slide-In Overlay Hover Effect (HTML &...  
Decide - Create - Publish - Repeat:    • Decide - Create - Publish - Repeat  

Codepen: https://codepen.io/Coding_Journey/
Twitter:   / codingjrney  
Email: codingjourney123@gmail.com

Subscribe 💖
   / @codingjourney  


Nesta página do site você pode assistir ao vídeo on-line Accordion (HTML, CSS and JavaScript) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Coding Journey 05 Janeiro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 61,511 vezes e gostou 1.6 mil espectadores. Boa visualização!