+ 1

Can I use java script for loop to create counter and insert it in HTML page

19th Oct 2018, 9:20 PM
Abubaker Mohammed
Abubaker Mohammed - avatar
4 Answers
+ 3
no, it needs back end.
19th Oct 2018, 9:27 PM
Roneel
Roneel - avatar
+ 2
yes you can. just create the loop and insert it with document.getElementById('myId').innerHTML = counter if thats what you ment
19th Oct 2018, 9:29 PM
Roel
Roel - avatar
+ 1
thank you😊
19th Oct 2018, 9:28 PM
Abubaker Mohammed
Abubaker Mohammed - avatar
+ 1
thank you 😊
19th Oct 2018, 9:31 PM
Abubaker Mohammed
Abubaker Mohammed - avatar