Computing Section 5 TV
Computing Section 5 TV
SECTION
5 COMPUTATIONAL
THINKING AND WEB
DEVELOPMENT
1
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
INTRODUCTION
Take a moment to explore the beauty of this website here or https://t-tel.org/. Are you
curious about how it was expertly created? In this section, you will learn the basics of
building a website. Through hands-on activities and problem-solving tasks, you will
develop your coding skills and understand how websites are made using tools such as
HTML, CSS, and JavaScript.
We will focus on web outline plans, which include essential elements like sitemaps,
wireframes, and prototypes. These tools will help you see the different parts of a web
page and may even inspire you to try web development yourself!
There are many excellent websites, such as w3schools.com and codecademy.com,
where you can learn more and practise your skills.
We are excited for you to gain these valuable skills – let us get started then!
1. Identify and describe the key components of a Web page, including headings, menus,
links, text, images, and other relevant elements.
2. Draw and explain 2 web outline plans showing the wireframes.
Key Ideas
1. Web design - Web design involves planning and creating the visual layout and structure
of a website. It ensures the site is attractive, user-friendly, and works well on different
devices.
2. Web development – Is the process of building and maintaining websites
3. Front-end – Refers to the part of a website that users interact with directly
4. Back-end – Ensures that the front-end operates smoothly by handling data processing,
storage, and security
5. Sitemap - A sitemap is a visual or structured map that outlines the organisation and
hierarchy of a website’s pages
6. User experience (UX) - Refers to how users interact with and feel about a website
7. User interface (UI) - Refers to the visual elements of software or a website that users
2
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
interact with
8. Website blueprint - A detailed plan that outlines the structure, content, and navigation
of a website
9. Content structure - Refers to the organised arrangement of information on a website,
ensuring that content is presented in a logical and easy-to-navigate manner.
10. Wireframe – Like a house plan, a wireframe is a simple sketch that shows the structure
of a website.
11. Prototype – Like a small model of the house, a prototype allows you to see how the
structure works in real life.
Activity 5.1
From the activity you just completed, you will notice that link 1 is just a design, without
any functionality, while link 2 has functionality which makes the website respond to
what you clicked on.
In this learning, we will look at the difference between web design and web development,
which you may have already understood from Activity 5.1.
3
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
Web Design
Web design is about making a website look good. It deals with the colours, layout, and
overall appearance of the website. However, web development is about making the
website work (function). This means, it involves creating the parts of the website that
users interact with, using coding languages like HTML and JavaScript.
Before a website is developed, web developers take the ideas that web designers come
up with and make them work by writing codes. In SHS Years 2 and 3, you will learn
more about how this coding works, especially HTML. For now, you will learn the
basic idea(s) of how websites are built. See the simple one-page website example from
Activity 5.1 link 2. This helps you understand how web design and development come
together to create websites.
Figure 5.1 highlights some of the key differences between web design and web
development.
Now that you understand the difference between web design and web development, let
us look at web development in more detail.
4
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
Activity 5.2
1. Imagine you are to create a human being using these three images. Arrange
them in the best possible order.
1 2 3
Good work, the activity you just completed is a process of how web development works.
Web Development
Web development is the process of creating and maintaining websites and web
applications. It involves using different tools and technologies (such as JavaScript,
CSS, HTML, etc.) to build these sites. The main goal of web development is to meet
the needs of the client, who is the person or organisation paying for the project. This
means creating online experiences that are accurate, informative, reliable, interactive,
and easy for users to navigate.
There are two aspects – front-end development and back-end development:
1. Front-end development is all about designing the parts of a website that users
see and interact with. It focuses on the user interface (how the website looks) and
the user experience (how easy and enjoyable the website is to use). Here are the
main technologies used in front-end development:
5
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
Activity 5.3
Let us have some fun playing with this front-end code. Follow these instructions
carefully to enjoy this simple website.
1. Click here to download the zip file.
2. Unzip or extract the file to a specific location where you can easily get access
to it.
3. Double click on “simple website” to Run the website.
4. What do you notice about the website? Write down some observations.
5. Share your observation with peers in the classroom.
Congrats, you are on your way to be one of the best website developers.
6
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
2. Back-end Development involves the parts of a website that you do not see but
makes everything work smoothly. It includes managing servers, databases, and
the logic that powers the website. Here is a simple breakdown of what back-end
development is all about:
a. Server-Side Processes:
Think of the server as the brain of the website. It handles requests from users
(like when you click a button) and sends back the right information.
b. Database Management:
A database is like a digital storage room where all the website’s data is kept.
This includes things like user information, products in an online store, and
articles on a blog. Without a database, the website cannot save or find any
information.
c. Application Logic:
This is the set of instructions that tells the website how to behave. It processes
the data from the database and ensures that everything runs correctly. For
example, when you log in to a website, say Facebook, the application logic
checks your username and password against the database before it allows you
to login to your account.
Common Back-End Programming Languages include:
• Python
• Ruby
• Java
• PHP
These languages help developers create the functionality that makes websites
interactive and responsive to users’ actions.
Activity 5.4
7
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
You may have noticed that anytime you type a website address like (www.ges.gov.gh)
into a browser, the browser leads you to the website.
Web browsers are like cars that take you to a specific location (like the school park).
The URL (Uniform Resource Locator) is the address of that specific location. Every
website has its own unique URL (meaning no two or more websites can use the same
address/URL).
8
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
Importance of Headings
Headings guide users through the content. They break up the text into sections, so
users can quickly locate the information they need without getting lost.
Activity 5.5
2. Menus, also known as navigation bars, are lists of links that help users move
around the website. They are usually found at the top or down the side of the page.
Importance of Menus
Menus provide a consistent way for users to explore the website. They make it
easy to find the information you need without getting lost.
Activity 5.6
3. Links, also known as hyperlinks, are clickable elements on the web page that
connect to other parts of the website. They allow the user to navigate between the
different pages of the website or between different sections within the same page
(internal hyperlinks). Links can also direct the user to a different website (external
9
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
10
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
11
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
3. Categorise the information: Group the website content into related categories and
subcategories. Consider the main topics or sections the website will include. This
will help determine the number and names of the main pages and subpages.
4. Create a sitemap: This will show the basic structure and organisation of a website.
You will find explanations and examples later.
5. Create a content outline: A content outline is a detailed plan that shows what
each page of a website will include. It lists all the sections and features needed
for the website, just like a sitemap but more detailed. You can make this outline
as a graphic, which shows how everything is organised, or as a simple list. For
example, you might see a website’s navigation bar as a graphic (Figures 5.7 and
5.8), and another website’s Home page layout as a list (Figure 5.9). Both ways help
you see and organise the website’s content before building it.
12
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
Homepage
• Header with menu and logo
• Hero image with text and call to action (cta)
• Product Value Section
• Why the Production Content section
• Competitor Comparison Chart
• Feature Content Section
• Testimonials
• CTA Form
• Footer
Figure 5.9: Home page
Note that CTA/cta stands for call to action which is a prompt that encourages
visitors to take a desired action on a website. It is often designed in the form of a
button with a clear command or action phrase.
An example of a CTA is the “CHECK”, “SUBMIT”, “APPLY NOW” and
“CHECKOUT”, buttons on the images below:
6. Wireframing and Prototyping: Wireframes and prototypes are like rough drafts for
web pages. They help both clients and developers see how a website will look and
how it will be arranged before it is fully built. We will learn more about how to
create and use these tools later.
13
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
Activity 5.7
1. Think of a website you like and list two or three goals that the website might
have.
2. Imagine a typical visitor to your chosen website. Give them a name, age,
interests, and reasons for visiting the website.
3. Organise the content types into main categories and subcategories in your
notebook.
4. Share your findings with your peers and discuss.
Sitemap
What is a sitemap?
A sitemap is like a map for a website. It shows how different pages of the website
are connected and how they are organised. Search engines use sitemaps to find and
understand all the pages on a website more easily.
Think of a sitemap as a guide for building a website. It shows the basic layout of the
website without worrying about the fancy design. This helps web designers plan how
the website will look and how it will work.
There are two main types of sitemaps: visual and XML. For now, we will focus only on
visual sitemaps.
Example 1
See Figure 5.6 for an example of a horizonal sitemap with two levels drawn using
Microsoft Word. It consists of a home page with a navigation bar (indicated in this
example by shading) that gives clear links to four main pages.
14
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
Example 2
Barefoot is a business that sells shoes in Tamale. The website being developed for this
business should have a homepage and three linked multimedia pages of the shoes currently
on sale. These three pages (Men, Women and Children) should be navigated backwards
and forwards. A link should exist to the www.howtomeasure.co.uk website from the home
page.
A design of a single-level visual sitemap for Barefoot’s website, created manually, is
shown is figure 5.7. Note that the arrow to the external link is in one direction only, this
indicates that there is no link from www.howtomeasure.co.uk back to the Barefoot’s
website.
The navigation bar is not indicated but is obvious in this case, and has links to three
pages: Men, Women and Children.
Example 3
Digital Centre, an IT training company in Wa, is developing a website for their customers
about web development. A horizontal navigation bar will be used with links to three
pages: Content & Structure, Styling, and Interactivity. Customers should be able to access
further pages to learn about analysing or implementing the code for each of these three
elements of web development.
15
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
A design of a multi-level visual sitemap for the Digital Centre’s website created in
Microsoft Word is shown in Figure 5:8. A dotted line is sometimes used to indicate the
navigation bar. In this example and in example 1, the navigation bar is indicated by
shading.
1. Using paper or a digital tool, sketch a simple sitemap for your website in
activity 64. Include the main pages, navigation bar and any subpages.
2. Choose the Homepage from your sitemap and list all the sections and
features that will appear on this page.
3. Draw a simple wireframe of the homepage, placing each component in its
designated spot.
4. Develop three CTAs (call to actions) for your website’s homepage. Consider
their placement and wording.
5. Share your work with your facilitator for review.
Activity 5.9
16
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
Next steps
Content creation: The content creators make or gather content for different parts of
the website and ensure that this content aligns with the website’s goals and that it is
engaging for the visitors. For example, a video editor may be commissioned to produce
a promotional video for a university website. Copyright needs to be considered when
making and gathering content for a website.
Development and testing: Web developers will use the web outline plan to code and test
the website. Testers can use the web outline and sitemap, as they adopt the role of the
user personas as part of usability testing, following the structure of the website to test
that it works as expected.
Deployment and launch: This is where the developer will set up hosting, configure
the domain, and deploy the website to a live server. They will conduct final checks to
ensure all elements, functionality, and links work correctly. They will then create a
backup and have a plan for ongoing maintenance and updates for the website.
Analytics and monitoring: This the stage where the developers will set up tools to see
how users are using the website. This includes how many people visit, what they do
on the site, and how well the site meets its goals. Developers will regularly check the
collected data to monitor and understand what is happening on the website. They will
then use the data to find out what’s working well and what needs fixing, as well as
make any improvements as necessary. This helps make the website better, easier to use,
and more effective in reaching its goals.
Activity 5.11
17
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
Conclusion
A web outline plan is like a detailed map for building a website. It shows how the website
will be organised, including the main sections, sub-sections, and how everything
will link together. This plan helps make sure the website’s content is easy to find and
understand. It also guides the team creating the website, including designers and
content writers, to make sure everything fits together well. Good planning is important
because it helps make the website easy to use, saves time and money, and can help the
site perform better in search engine results.
Hello learner, we saw in our previous learning that one of the general guidelines in
developing a web outline plan is wireframing and prototyping, our focus will be on
them in this learning.
Let us look at them now!
Activity 5.12
18
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
WIREFRAMES
19
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
Boxes with an ‘X’ are used as placeholders to show where images will go. For videos, a
plain box with a play button or controls in the middle is used, and audio placeholders
show media controls. The names of media files should also be written.
Text areas are shown with horizontal lines. Sometimes, these lines are replaced by a
short summary or sample text. Headings are added to help make the layout easier to
understand.
Links are shown in a different colour and are labelled. Wireframes may also have notes,
called annotations, that give design details (specifications) like background colours,
font styles, and the sizes of images.
20
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
Activity 5.13
With your peers, read the design specification below and perform the activity that
follows.
DM Photography is a business that takes photographs of family events and
celebrations. This includes birthdays and weddings, as well as photographs of
other special occasions.
The business wants a website containing the following elements:
1. the title ‘Pretty Pictures’.
2. a short statement about the business’s quality assurance to customers.
3. separate pages for each category of photograph package: birthday, wedding
and other special occasions.
4. a ‘Recommend a Friend’ page that gives details on how to register for rewards
for customers and their friends.
5. at least one photograph on each page showing previous examples of images
taken.
6. a video on the home page showing the business owner talking about their
three packages on offer.
7. an external link on the ‘Recommend a Friend’ page to ‘The International
Photography Awards’ website (www.tipa.com),GES (https://ges.gov.gh/) and
T-TELL (https://t-tel.org/) websites.
Perform the following tasks;
1. Design a top-level visual sitemap for this website.
2. Draw a wireframe for each page manually and electronically.
21
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
Activity 5.14
Alhaj Habib and Sons’ BikeStore is a charity bike shop. They need a single page
website to encourage donations of bikes and to advertise what bikes they have in
stock.
This web page should have:
1. the charity logo (PedalPower.jpg) and name at the very top of the page.
2. a heading with the title “We need your old bikes!”
3. a graphic of a bike (bike.png).
4. a subheading entitled “What we need”.
5. a numbered list detailing the top 5 types of bikes the charity shop would like
donated.
6. a subheading titled “Our current stock”.
7. a video showing the current stock (ppstock.mp4).
8. a page background of pale blue/cyan.
9. other design specifications are at the discretion of the designer.
Perform the following tasks;
1. Draw a wireframe for this page either manually or electronically.
2. Show your design to your facilitator for review.
Activity 5.15
Activity 5.16
22
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
Prototypes
Compare the wireframe of your house to building a small model of the house to test
the design and see how things will function. This is like a prototype, where the basic
interactivity and functionality are tested.
When using paper-based prototypes, you need two people to show how the website
works. One person acts as the user, pretending to click on ‘hyperlinks’ on the page,
23
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
while the other person plays the role of the computer browser, moving from page to
page or section to section. At this stage, you will use the user personas you created
earlier to guide the demonstration.
24
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
vi. Providing a guide to the web developers on how the website they are tasked to
create should look and behave.
Activity 5.17
Activity 5.18
25
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
26
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
27
Review Questions
Media
JS
index.html
NLP.html
computer_vision.html
robotics.html
machine_learning.html
virtual_assistants.html
chatbots.html
28
2. Describe what is meant by the following:
a. Website structure
b. A hierarchical navigation website structure
3. With respect to web design, give one difference between a sitemap and a content
outline
4. Imagine that you are the owner of a new gym, and you are working with a web
designer to create a website for this business. Create a slideshow that will show
the following for your website:
a. At least three goals
b. Three different user personas
c. A multi-level visual sitemap
d. A list of the items that you wish to appear on the Home page
29
Answers to Review Questions
30
Answers to Review Questions 5.2
1.
2.
a. Website structure refers to how a website is organised and arranged, including
how different pages are linked together. It helps users and search engines navigate
the site easily, making sure information is presented in a clear and logical way,
such as grouping related content under sections or categories.
b. A hierarchical navigation website structure means that the website is organised
in a tree-like format, where pages are arranged from general to specific. The
homepage is at the top, and other sections or subpages branch out underneath it,
helping users easily move from broad topics to more detailed information.
3. In web design, a sitemap shows the structure and layout of a website’s pages,
while a content outline focuses on the specific information and details that will be
included on each page. The sitemap is more about the page arrangement, whereas
the content outline deals with what each page will contain.
4. Click on this link or scan the QR code for solution.
31
2. A web outline plan includes key elements like the structure, content organisation,
and navigation of a website. Each of these elements play a crucial role in how well
a website functions:
a. Structure: This is how the website is organised. A clear and simple structure
helps users find information quickly and easily, making the website more user-
friendly. If the structure is confusing, users may struggle to navigate and might
leave the site.
b. Content Organisation: This involves arranging information logically. Good
content organisation ensures that users can easily understand the information
provided, making it more likely they will stay on the website and find what
they need.
c. Navigation: Easy-to-use navigation menus help visitors move around the
website smoothly. Poor navigation can frustrate users, leading them to leave
the website without finding what they need or exploring further.
3. Web designers seek feedback from the client on wireframes and prototypes to
ensure the design meets the client’s expectations and requirements before moving
forward. By getting feedback early, designers can make necessary changes to the
layout, features, and overall look, saving time and avoiding major revisions later
in the process. This also ensures that the final product is user-friendly and aligns
with the client’s vision.
32
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
REFERENCES
• Computing – Teacher Manual (2024), Year One Book 2 for SHS, SHTS, STEM
curriculum – pages 96 – 130.
• NaCCA (2023) Computing curriculum for Secondary Education (SHS1-3) pages
50 – 53.
• Osborn J., Smith J, and AGI Training Team (2011). Web Design with HTML and
CSS Digital Classroom. Published by Wiley Publishing, Inc. ISBN: 978-0-470-
58360-9. Pages 1 – 34.
• Robbins J. N. (2012). Learning Web Design: A Beginner’s Guide to HTML, CSS,
JavaScript, and Web Graphics. Published by O’Reilly Media, Page 10 – 25.
• Robbins J. N. (2018). A Beginner’s Guide to HTML, CSS, JavaScript, and Web
Graphics. Published by O’Reilly Media, Inc., page 3 – 46.
• The Interaction Design Foundation (2015). UX Tools: Wireframing and Prototyping
Tools retrieved from https://www.interaction-design.org/literature/article/ux-
tools-wireframing-and-prototyping-tools?srsltid=AfmBOoqCI4vkBjz1dPTnsIUey
GtouprMgoyz-IQQjpEaXNNtnjL-RXPD on 17/09/2024.
GLOSSARY
• Database: A digital system for storing and organizing data.
• Moqups: A tool for creating rough sketches of websites or apps.
• Model: A simple representation of a system or process.
• Null Pointer: A variable that does not point to any data or memory location.
• Programming: Writing a set of instructions (program) for computers to perform
tasks.
33
SECTION 5 COMPUTATIONAL THINKING AND WEB DEVELOPMENT
ACKNOWLEDGEMENTS
List of Contributors
Names Institution
34