[go: nahoru, domu]

Skip to content

Wonderful project been developed by me to help the community to iterate through colors and display or change the color of an element after 2sec.

License

Notifications You must be signed in to change notification settings

KidiIT/Using-SetInterval-Method--to-iterate-through-colours-with-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI

Using SetInterval() Method to iterate through colours with JavaScript

HOW TO USE:

  1. Firstly, create a nice template on your html and input any name you want on your h1 tag.eg CHANGE MY COLOUR WITH JAVASCRIPT.

  2. secondly give an id to the element on your HTML.then get it by it's elementById on your js file.

  3. lastly, every other thing you need to know has been done for you on my input.js as seen on my repo. also, you can understand how to clear setinterval on the project. do well to take a closer look to know when it was used on the project.

  4. please do reach out anytime if you got any question or issues on my project. Thank y'all for reviewing and using my awesome work with JavaScript.