Some of you may be ready to start adding more pages to your site and be confused as to how to do so. Have no fear! Adding new pages to your site is super easy. Let’s explore.
First, make sure you’ve already got your homepage all set up, named index.html and saved in your project folder. You’ll add additional pages to your site via the steps below and save them along with your index.html file in the same project folder.
STEP 1. Create a new file in your text editor and save it with a new filename inside your project folder.
For example, let’s say you want a “Work” page for your site. What you can do is:
- Create a new file in your text editor
Name it work.html
Save it in your project folder right next to index.html, your homepage.
Add a link on your homepage to “work.html” so your users can go back and forth between the two pages.
- Repeat the above process for every new page you want
Instead of creating new files with your text editor, why not hit SAVE AS on your index.html file and save a new file named work.html? This is a quick way to avoid having to copy/paste your previous work into new text docs. Repeat as often as necessary with new file names for new pages! (just take a deep breath before saving and make sure you don’t overwrite anything you don’t mean to!)
Questions? Comments? Ask away on Mightybell!