In this video tutorial we investigate how to add more webpages to our website and how to create the hyperlinks for the navigation bar using the anchor tag <A>
![]()
In this video tutorial we investigate how to add more webpages to our website and how to create the hyperlinks for the navigation bar using the anchor tag <A>
![]()
The example below is an example of internal CSS stylesheet:
<HTML>
<HEAD>
<STYLE>
BODY {
background-color: #00FFFF;
}
</STYLE>
</HEAD>
<BODY>
....
</BODY>
</HTML>
The issue with internal CSS stylesheet is when a website consists of many HTNL pages. The CSS code needs to be added to every single page which can be really time consuming to maintain.
We can then link all the pages of our website to this CSS stylesheet by adding the following code to our pages:
<HTML>
<HEAD>
<link rel="stylesheet" type="text/css" href="css/style.css">
</HEAD>
<BODY>
....
</BODY>
</HTML>
The main benefit of this approach is that we can now change the look & feel of all the webpages of our website by changing the content of just one single style.css file.

In the Harry Potter series of novels written by British author J. K. Rowling, The Sorting Hat is a magical hat at Hogwarts that determines which of the four school Houses each new student belongs most to. These four Houses are Gryffindor, Hufflepuff, Ravenclaw, and Slytherin.
In this challenge we are going to write Python program to control the sorting hat.

For this challenge you are going to code a script to ask a user how old they are and inform them as to whether they are old enough to vote or not. If they are not old enough to vote, the script will calculate how many years the user will have to wait before being allowed to vote.
| Test # | Input Values | Expected Output | Actual Output |
| #1 | Age: 21 | You can vote | |
| #2 | Age: 16 | You will be able to vote in 2 years. | |
| #3 | Age: 100 | You can vote. | |
| #4 | Age: 0 | You will be able to vote in 18 years. | |
| #5 | Age: 18 | You can vote | |
| #6 | Age: (leave blank) | Error Message | |
| #7 | Age: “I am fifteen years old” | Error Message |

In this blog post we will design our own algorithms using both pseudo-code and flowcharts.
When given a problem to solve using a computer program you need to think about?
Then you can design your algorithm either in “plain English” (e.g. using pseudo-code) or using a visual representation (flowchart).
Let’s look at the algorithm used in a tea/coffee machine.
The machine should:
Now let’s look at this algorithm using pseudo-code and using a flowchart:
START;
/Would you like Tea or Coffee?/;
if tea {
Add Tea in cup;
} else {
Add Coffee in cup;
}
/Would you like Milk?/;
if Milk {
Add Milk in cup;
}
/Would you like Sugar?/;
if Sugar {
Add Sugar in cup;
}
Pour hot water in cup;
END;

Extension:
Create your pseudo-code and your flowchart using code2flow.com. Note you can reuse the code form the coffee machine to help you get started!
![]()
Complete this domino activity to revise key definitions on how text files, pictures and sound files are stored on a computer using binary code.
In this challenge we are learning how to format text on a web page using a range of CSS properties.
Remember the key syntax for CSS is as follows:

In this challenge we will use various CSS properties such as:
You can learn more about all these CSS properties on w3schools.com.
Check the code below to see how we created the following 5 headings. Tweak the code to change the style of your headings and reuse it in your own webpages or CSS stylesheets.
Check the code below to see how we applied CSS to the <P> tag. Tweak the code to change the style of your paragraphs and reuse it in your own webpages or CSS stylesheets.
Once your website is ready, you will want to design and add a favicon.
This graphic will appear in your web-browser in the tab section as well as in the favourite toolbar.
![]()
The favicon is also used by smartphone and tablets as an “App” icon when the user decides to pin your webpage on their home screen.
![]()
There are different approaches to create your favicon. One easy approach is to use a website such as favicon.cc
Once your icon is ready save it as favicon.cc in the root folder of your website:
![]()
Access the code of your webpage and in the <HEAD> section add the following code:
<link rel='icon' href='favicon.ico' type='image/x-icon'/ >
So your code should now look like this:
![]()
That’s it, save your page and access it in a web-browser. The favicon should now appear in the tab, next to the page title.
There are many CSS properties that can be used to change the look and feel of your web graphics. You can use CSS to:
Investigate the use of CSS in the examples provided below. Then reuse some of these skills to update your pictures on your own webpages.
See the Pen Using CSS with Pictures by 101 Computing (@101Computing) on CodePen.
See the Pen Rollover animation effects on pictures by 101 Computing (@101Computing) on CodePen.
In this video tutorial you will learn: