In this repository you'll find some simple web projects taken from https://roadmap.sh/. The project I've chosen are designed to introduce to basic DOM manipulation and event handling in JavaScript. Here's what I've done so far:
Restricted text area
: here the task was to create a textarea with a live character count and a max character limit, no use of css for automatically handling the max character limit.Accordion
: do you know FAQs? Well apparently a FAQ is also called an accordion... In this project I had to make a little accordion component which displayed a list of questions and headings.Tabs
: as the name suggests, I had to create a simple page with some tabs, one shown by default. When the user clicks on another tab, the content of the current tab is hidden, and the content of the selected tab is displayed.Cookie Consent
: I had to create a cookie popup that appears on the page with a button to accept the consent. Once accepted, the popup disappears and does not appear on subsequent visits.