Hosted project
https://codeekta28.github.io/beautiful-counter/
Github Source File
https://github.com/codeekta28/beautiful-counter.git
javascript used
- DOM
- function
- textContent
- Event
- for of
Lines Of Code
29 lines of code
Challenges Faced
Initially i declared the counter inside the event function when desired result didnt come than i realize each time event is being triggered counter is also initialize
New Things Learned or refreshed
Nothing New But Good Practice
Biggest Takeaway
Mostly declare variables outside the event function
Comments
Post a Comment