When I have a link on my project that opens another page, it doesn´t take the user to the top of the page, it just changes the content without moving.
How do I get it to take me to the top?
When I have a link on my project that opens another page, it doesn´t take the user to the top of the page, it just changes the content without moving.
How do I get it to take me to the top?
Is this a SPA?
Great question, not sure.
I set up the project using JSON not HTML because I thought it was better and because of the tutorials I watched from the course.
Does that answer the question?
No, not really
Is your page a single page app, where you only reload the content part and not the whole page?
It only seems to load the content not the full page. So to your question, yes it is a SPA but maybe it shouldn´t be. Not sure how I configured it to do that
Actually it does load the page again except for 1 link where it seems to just load the content, not the page.
By setting the links to “internal” does that make it only load the content?
I have removed it from the link and now it loads the page, taking me to the top. When should the internal checkbox be selected?
Internal link is used for SPA pages, where you only want to refresh the content without reloading the whole page.