You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,15 @@
1
1
# Using SetInterval() Method to iterate through colours with JavaScript
2
2
Wonderful project been developed by myself to help the community to iterate through colours and display or change the color of an element after 2sec.
3
+
3
4
HOW TO USE:
5
+
4
6
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.
5
7
6
8
2: secondly give an id to the element on your HTML.then get it by it's elementById.
7
9
8
-
3: lastly, everyother thing you need to know has been done for y'all on my input.js on my repo also you can understand how to clear setinterval on the project do well to take a closer look to know it was used.
10
+
3: lastly, everyother thing you need to know has been done for you on my input.js on my repo also you can understand how to clear setinterval on the project. do well to take a closer look to know it was used.
9
11
10
-
4:reach out if you got any question or issues thank y'all
12
+
4:reach out if you got any question or issues thank y'all.
0 commit comments