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!

+5

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

BUTTONS

<>

5/25/2020 2:01:54 PM

Talemwa Mark

24 Answers

New Answer

+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

+5

Im sorry i will try the next time

+3

Yes yes why not do it by using history.back() and history.forward()

+3

It could lead to problems and to to many reloads

+3

Just make a external js file for that and To all of your codes . What is problem in this . This is quite simple

+3

But it is also our responsebility to tell him the best way and why it is better

+3

Nico Ruder try to combine all your replies in one answer. It makes things easier to read. 🙂

+2

An example of code?

+2

What you mean is a slideshow

+2

Nico Ruder You don't need to apologize. You have done nothing wrong.

+2

+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.

+1

I wouldnt use history.forward() and history.back()

+1

As i said to many reloads

+1

There are better ways

+1

An example is this https://www.w3schools.com/w3css/w3css_slideshow.asp

+1

Or this https://www.w3schools.com/howto/howto_js_quotes_slideshow.asp with some difference

+1

And he can even copy the code and try to understand it

+1

This site is for beginners. I learned there how webdevelopment works

+1

And he can too