Congratulations! You have learned many HTML skills.
You now know how to create headings, paragraphs, images, tables, forms, links, and semantic HTML sections.
In this module, you will combine everything you have learned to build a complete website.
A website project is a collection of web pages that work together.
Instead of creating only one page, you will create several pages and connect them using links.
Think of a website as a school. A school has classrooms, offices, a library, and a playground. Each room has a different purpose, but they all belong to the same school.
A website works the same way. Each page has a different purpose but belongs to the same website.
Before building a website, it is important to plan it.
Ask yourself:
A website usually contains more than one page.
Example:
Each file becomes a separate webpage.
We use hyperlinks to connect pages.
<a href="about.html"> About Me </a>
When visitors click the link, they move to another page.
Think of links as hallways connecting classrooms in a school.
Navigation menus help visitors move around the website.
<nav> <a href="index.html">Home</a> <a href="about.html">About</a> <a href="hobbies.html">Hobbies</a> <a href="contact.html">Contact</a> </nav>
Place the same menu on every page.
Each page should contain useful information.
After creating your website, test everything.
Testing is like checking your homework before submitting it.
Sometimes mistakes happen.
Common problems include:
Always check your code carefully.
<h1>Welcome to My Website</h1>
<nav>
<a href="about.html">About</a>
<a href="hobbies.html">Hobbies</a>
<a href="contact.html">Contact</a>
</nav>
<p>Hello! My name is Tolu.</p>
<h1>About Me</h1> <p>I am 10 years old.</p>
<h1>My Hobbies</h1>
<ul>
<li>Football</li>
<li>Reading</li>
</ul>
<h1>Contact Me</h1>
<form>
Name:
<input type="text">
</form>
Answer the following questions:
Create three pages:
Connect them using hyperlinks.
Complete the missing code:
<nav> <a href="________">Home</a> <a href="________">About</a> <a href="________">Contact</a> </nav>
Build a website called My Personal Website.
Create:
Include:
Create a website about:
Use everything you have learned in the course.