Computer Science LearnITWithMrC ⛯ Year 7 Year 8 Year 9 GCSE
Responsive image

Navigation

What am I Learning today?

I am learning how to create a navigation bar
I am learning how to layout my information to suit the needs of the end user

Knowledge Organiser

×

Lesson

Task 1 - Getting Organised - PowerPoint Click to see more

Getting organised

  1. Set your Learning Objectives to red.

  2. Open up your PowerPoint from last lesson it should be called 'Web Design'.

  3. To download the PowerPoint by clicking on the image below

    Save your PowerPoint as 'Web Design'



Task 2.1 - LearningHTML Click to see more

Click on the image below to go to the W3 Shools website

HTML

The language for building web pages

Learn HTML
Video TutorialNEW
HTML Reference

HTML Example:

<!DOCTYPE html>
<html>
<title>HTML Tutorial</title>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>
Try it Yourself

Task 2.2 - Edublocks Click to see more

Using Edublocks for HTML5

Click on the link below to log into your edublocks account.

    control

    When you have logged in open create a new page for the navigation bar you are going to make later.

    control control

Task 3 - Viewing your page in a web browser Click to see more

We now need ready to turn our code into a web page you can view in your web browser.

Firstly we need to make sure we have a folder to store our web page

  • Create a folder for you web pages.

    control
  • Task 1

    1. How to open a text editor

      In order to create our web page we need to use a text editor

      control control control control
    2. Copy your HTML code from Edublocks into your notepad++ file.

      control

      Save your file


    3. Now either go back to your file explorer page double click on your index.html file and it will open up in a web browser for you to see

      Or do the following in notepad++

      control

    Task 4 - Adding an image Click to see more

    Adding an image onto the page

    Before we add in our own page banner let's first see how we add an image to our website. To add an image we need to put a link to it in the img src tag. Copy the link below and paste it into the img src tag.

    https://www.freewebheaders.com/wp-content/gallery/computer/colorful-tablet-computer-tech-creative-web-header.jpg control

    Free web Headers

    Task 4

  • Now we know how to add an image we can look at adding the banner we created when we designed our web page
  • Let's first move our banner into our Web Design folder
  • if you haven't made a banner use the one below just so you have a banner image to use. Right click on it and save it as banner.png

    1. Copy your banner into your Web Design folder and make sure its is called banner
    2. control
    3. Now write the name banner.png inside of your img src tag and make sure it is inside your header box
    4. We cannot give edublocks a link to our banner as it is on our computer, so we will have to copy our code into our notepad ++ page to see this working.

      You must put your banner and web page inside the same folder, "Web Design", for this to work.

    5. After you have copied your code Save it and then refresh your browser and your page should now look something like this.
    6. Click here


    Extension

  • Can you add an image to the one of the page parts of your web page?

  • Can you add some text to go with your image ?


    If your dividers start to move about when you add text to them you will need to add in the styling below to the bottom of your style for the divider class


    control

  • Screenshot your code into your PowerPoint



  • Task 5 - Navigation Click to see more

    In order to complete our web page template we need to have some way of navigating between pages

    Task 1

    1. Create a navigation bar using the code below.

    2. control


      Extension- My Colours

      Change the colours of the buttons to your own colours.


    Task 6 - Putting it all together Click to see more

  • Now that we have created a navigation bar we need to add it to our main page

  • This is where things can get a little tricky as we have created our navigation bar on a seperate page. The reason for this is that things get a little difficult to follow on Edublocks when we have so much code on a single page. So we are going to start using edublocks to create page parts like we did with the navigation bar and then copy them into our main page using the HTML code.

  • Task

    1. Add the navigation bar code to your main page code using the example below to help you.

    2. control
    3. So that it looks like this:

    4. control control
    5. So when you run it your page looks something like this:

    6. control

      Extension

    7. Can you make a copy of your main page and save it as "page2", so you can hyperlink to it?


    Task 7 - Lesson review Click to see more

    Summing it all up

    Lets look at the learning outcomes and decide which one best describes our current level of understanding :

    Tick the one you feel is closest to your level

    Learning Outcomes I need to learn how to create a navigation bar

    • I have a basic understanding of how I can create a navigation bar with a little help from my teacher
    • I can show my teacher that I can create a navigation bar without their help.
    • I can create a navigation bar independently and I can also explain it to others and can complete any extension tasks I am given.

    🠜 Now update your learning objectivesClick on the Assessment image

    My Notes: Web_Design

    Student_Comment_6 not found

    Task Notes/Comments - Add here Click to see more

    Comments/Notes

    Copyright © 2013 - 2025 LearnITwithMrC