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

6th Oct 2022, 10:20 AM
Zulpakar
Zulpakar - avatar
13 Respostas
+ 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
24th Oct 2022, 12:42 AM
Gordon
Gordon - avatar
+ 3
Render the button element in JS: https://code.sololearn.com/W8uPZWN3bofk/?ref=app
24th Oct 2022, 5:53 AM
Gordon
Gordon - avatar
0
https://code.sololearn.com/Wx9vcBAlC40f/?ref=app
6th Oct 2022, 10:21 AM
Zulpakar
Zulpakar - avatar
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>
6th Oct 2022, 11:54 AM
Ausgrindtube
Ausgrindtube - avatar
0
Ausgrindtube I need if click button page 1 ...like " next" button 🙏
6th Oct 2022, 2:32 PM
Zulpakar
Zulpakar - avatar
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.
6th Oct 2022, 3:52 PM
Ausgrindtube
Ausgrindtube - avatar
0
Thanks Ausgrindtube I will tray that 🙏
6th Oct 2022, 10:48 PM
Zulpakar
Zulpakar - avatar
0
Thanks for help me Gordon I will study the code you provided 🙏👌
8th Oct 2022, 4:56 AM
Zulpakar
Zulpakar - avatar
23rd Oct 2022, 1:51 AM
Zulpakar
Zulpakar - avatar
0
Not working đŸ˜„đŸ™ Gordon
24th Oct 2022, 3:46 AM
Zulpakar
Zulpakar - avatar
0
Thanks Gordon 😉🙏
24th Oct 2022, 9:44 AM
Zulpakar
Zulpakar - avatar