This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by Christopher mlalazi
over 8 years

Multiple pages in website

I have read through html, CSS and how to make a website. I think I missed something which I am searching for but can’t find. Where can I find information on how to create multiple pages in a website on Codecademy. Is this covered?

Answer 55c9497c9113cbe38100075d

0 votes

Permalink

Hi Fundi,

If you are using Codebits then you can’t add more pages – is that what you mean?

points
Submitted by Judy
over 8 years

1 comments

Christopher mlalazi over 8 years

I still don’t know what Codebits are, but to further explain my question, what I mean is how do you create pages which you click on the main website page and they open up just like in online newspapers. like you will be having a menu with ‘Home’ ‘About’ ‘Contacts’ and when you click on these buttons/pills they open up to other pages/sub-sections.

Answer 55c9eea49376761ef000028f

0 votes

Permalink

Let’s imagine a little website with a nav bar like this:

<div class="nav">
  <div class="container">
    <ul class="pull-left">
      <li><a href="name.html">Name</a></li>
      <li><a href="browse.html">Browse</a></li>
    </ul>
    <ul class="pull-right">
      <li><a href="signup.html">Sign Up</a></li>
      <li><a href="login.html">Log In</a></li>
      <li><a href="help.html">Help</a></li>
    </ul>
  </div>
</div>

You would then create files with all of those names and put them in the same directory as your index.html.

points
Submitted by Judy
over 8 years