JavaScript
This project showcases my skills in DOM manipulation and creating interactive UI components by implementing a dynamic cookie consent pop-up modal. The modal is displayed using the setTimeout function to simulate a delayed appearance, offering users the option to interact with a form. The form leverages the FormData object for efficient data handling, while preventDefault ensures seamless form submission without reloading the page.
To enhance interactivity, I used classList.toggle to manage state changes for the modal, enabling smooth transitions between visible and hidden states. Certain form inputs and buttons are dynamically enabled or disabled based on user actions, adding another layer of functionality. Additionally, the modal includes a postponing feature that allows users to delay its reappearance, showcasing my ability to create user-centric features.
This project highlights my ability to combine JavaScript techniques, such as event handling and display management, with clean, responsive design to create engaging and polished Frontend experiences. Annoying cookie consent page was created as part of Scrimba's Frontend Developer Career Path program.