/Modal-Window

A super simple and beginner-friendly web app to implement JavaScript 'click' function in web pages 🖥

Primary LanguageJavaScript

Modal-Window

🧑🏻‍💻 Here is a very small project to understand how JavaScript works with click event.

❕ This project is developed to help beginners understand more about how to implement simple JavaScript methods in web applicaations.

In this project, there are three modal buttons which are connected to the same text, and when clicked display the same message on the screen. To close the modal just click the '×' icon or anywhere out of the modal. Or you can simply press the key 'esc'. In this project, I used JavaScript to add and remove CSS classes from HTML You can also find detailed notes about certain methods in the 'script.js' file.