Table of Content
Link between pages
We would move on to create more than one page of content. First, we modify the home page to become the following code, which adds a link to #page-2
. (Remember the ID in hrefs?)
Then we define a page 2 following the code above. Make sure the ID of the div matches the link in home page.
What’s next? We’re going to take a look at “Page transition”.