- We will be creating a simple score keeper application using JavaScript.
- The HTML and CSS has already been done for you.
- Here are the steps you should take:
- Step 1: Add a link to your own custom JS file.
- Step 2: Bind click events to the +5 and -5 point buttons and change the innerHTML of the score display appropriately.
- Step 3: Bind a click event to the set score button and set the innerHTML of the score display to the score entered in the text box.
- Bonus: Create a check in your code to make sure the score will not go negative.
- Super Bonus: Create a function to make the changes to the score display rather than having to write your logic over and over.
-
Notifications
You must be signed in to change notification settings - Fork 0
arun-projects/Score-Keeper
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Score keeper application for practicing DOM manipulation.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published