Table of Contents
This is a webpage project that implements:
- Click event handlers with conditional statements.
- Adding and removing CSS classes with JavaScript.
Click the button to reveal a photo and change the button text. Clicking the button again hides the photo and changes the button's text and appearance. Rinse and repeat!
- HTML
- CSS
- JavaScript
This web page was crafted with vanilla code. No dependencies here!
All you need is a browser (to view/interact) and a text editor (to modify).
- Clone this repo and you're all set!
index.html
: structure and layout.styles.css
: design and aesthetics.script.js
: functionality.
There are no plans to implement additional features at this time.
This project is for learning/demonstration and is not being actively developed.
Distributed under the MIT License.
- Module 5: Events & Event Listeners
- Step 5 of 6: Event Handling with If & Else Statements
- normalize.css