Display comma-separated url with forward and back button

Display comma-separated url with forward and back button. You also have to put an “active” to mark which url is. Any help is welcome, thank you.

 <script>
            var AustralianBrothers = "https://www.helpbrothers.com/page1,https://www.helpbrothers.com/page2,https://www.helpbrothers.com/page3,https://www.helpbrothers.com/page4,https://www.helpbrothers.com/page5,https://www.helpbrothers.com/page6";
        </script>

        <button type="button">go back</button> <button type="button">go forward</button>

        <div id="display-url-active"></div>

… why?

Homework? (which includes helping business programmers do their work)

Thank you very much for answering, I don’t need the function anymore.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.