Please I need help on how I can switch to different webpages by clicking on the Next and Previous buttons...(👍👍) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Please I need help on how I can switch to different webpages by clicking on the Next and Previous buttons...(👍👍)

BUTTONS

25th May 2020, 2:01 PM
Talemwa Mark
24 Answers
+ 5
Yes Nico Ruder but this is problem of Talemwa Mark . So as he is beginner we should tell him the basics of it . Ok
25th May 2020, 2:26 PM
Ayush Kumar
Ayush Kumar - avatar
+ 5
Im sorry i will try the next time
25th May 2020, 4:38 PM
Nico Ruder
Nico Ruder - avatar
+ 3
Yes yes why not do it by using history.back() and history.forward()
25th May 2020, 2:13 PM
Ayush Kumar
Ayush Kumar - avatar
+ 3
It could lead to problems and to to many reloads
25th May 2020, 2:16 PM
Nico Ruder
Nico Ruder - avatar
+ 3
Just make a external js file for that and To all of your codes . What is problem in this . This is quite simple
25th May 2020, 2:22 PM
Ayush Kumar
Ayush Kumar - avatar
+ 3
But it is also our responsebility to tell him the best way and why it is better
25th May 2020, 2:27 PM
Nico Ruder
Nico Ruder - avatar
+ 3
Nico Ruder try to combine all your replies in one answer. It makes things easier to read. 🙂
25th May 2020, 4:33 PM
Ore
Ore - avatar
+ 2
An example of code?
25th May 2020, 2:04 PM
YoungMind
YoungMind - avatar
+ 2
What you mean is a slideshow
25th May 2020, 2:08 PM
Nico Ruder
Nico Ruder - avatar
+ 2
Nico Ruder You don't need to apologize. You have done nothing wrong.
25th May 2020, 4:40 PM
Ore
Ore - avatar
+ 2
Ok
25th May 2020, 4:43 PM
Nico Ruder
Nico Ruder - avatar
+ 2
It is always recommended to use JavaScript or jQuery to complete this. Please let's know if you have any basic knowledge about it so we can share the code.
26th May 2020, 7:33 PM
Huzaifa Yunus Wakpainjo
+ 1
I wouldnt use history.forward() and history.back()
25th May 2020, 2:15 PM
Nico Ruder
Nico Ruder - avatar
+ 1
As i said to many reloads
25th May 2020, 2:24 PM
Nico Ruder
Nico Ruder - avatar
+ 1
There are better ways
25th May 2020, 2:24 PM
Nico Ruder
Nico Ruder - avatar
25th May 2020, 2:25 PM
Nico Ruder
Nico Ruder - avatar
25th May 2020, 2:26 PM
Nico Ruder
Nico Ruder - avatar
+ 1
And he can even copy the code and try to understand it
25th May 2020, 2:27 PM
Nico Ruder
Nico Ruder - avatar
+ 1
This site is for beginners. I learned there how webdevelopment works
25th May 2020, 2:28 PM
Nico Ruder
Nico Ruder - avatar
+ 1
And he can too
25th May 2020, 2:28 PM
Nico Ruder
Nico Ruder - avatar