0
How to make ..if me click button page 1 ..goto page 1
Help me code to next page ,if me click button page 1
13 ответов
+ 3
In JavaScript, the pages array has 3 elements now. Follow the format and add one more element.
Then, at line 23, change 2 to 3
+ 3
Render the button element in JS:
https://code.sololearn.com/W8uPZWN3bofk/?ref=app
0
https://code.sololearn.com/Wx9vcBAlC40f/?ref=app
0
Do you mean like your "next" button?
Or to some other Web link?
If it's the second option, use <a href="yourlink.com">Page 1</a>
0
Ausgrindtube I need if click button page 1 ...like " next" button 🙏
0
Looking at the code, the easiest option is to add "class="button-next"" to the button, that will then link it to the JavaScript.
Or to keep the CSS intact, create a new class and update the JavaScript.
0
Thanks Ausgrindtube I will tray that 🙏
0
Thanks for help me Gordon I will study the code you provided 🙏👌
0
Can you help me Gordon https://code.sololearn.com/WXWWH8g6Y46q/?ref=app
0
Not working 😥🙏 Gordon
0
Thanks Gordon 😉🙏