0

Help educate! Is there a way to use loop or to make this code shorter?

I just learned .js. and was wondering if i could make a button to "change" the content inside an article with the next inline. This is what I got, was wondering if anyone could help teach me how to use loop on this, or teach me how to make this shorter. Thanks in advance! Code : https://code.sololearn.com/Wxo1fw8Wajp7/#html

7th Aug 2020, 5:55 AM
Putra Pratama
Putra Pratama - avatar
2 Answers
0
Please insert it in code and share it .it will be more easier to understand and analise this is a very long code here
7th Aug 2020, 6:00 AM
Divya Mohan
Divya Mohan - avatar
0
Sorry, skipped my mind to post the link instead lol. Thanks!
7th Aug 2020, 6:09 AM
Putra Pratama
Putra Pratama - avatar