Making A New Page Without Changing The Page | SoloLearn: Learn to code for FREE!


Making A New Page Without Changing The Page

I basically want to make it so that if you press a button, it will change the features of the page to a different section of the code but doesn’t switch web pages.

11/14/2019 12:52:30 AM

Copyright Gamezz

4 Answers

New Answer


What you are describing sounds like a single page application. See


What you need is a Single Page Application. Traditionally SPA was developed using only ajax. But now there are good JavaScript libraries like React js for developing Single Page Application.


If you mean something like a onepager you can jump to other areas of your website by using <a> tags like this: <a href="#id_of_some_element_on_your_page">Link</a> If you would like to change your page content without reloading it you have to use AJAX.