Skip to content

Web Development at MHSM

This site contains the course notes and exercises for the web development program at Makerere High School Migadde. You will learn how to structure pages with HTML, style them with CSS, and later add behaviour with JavaScript.

Start here

  1. Read Elements and Page Structure. It explains the parts of an HTML element and the skeleton every page needs.
  2. Create a folder for your work and add a file called index.html.
  3. Open that file in a browser. Keep the editor and the browser open side by side, change something, save, and reload.

If you can see a heading and a paragraph in the browser, you are ready to continue.

What you need

  • A plain text editor. Notepad, TextEdit, VS Code, or any editor that saves plain text will work.
  • A modern browser such as Firefox, Chrome, Edge, or Safari.
  • A folder where you can keep your practice files.

You do not need an account, a framework, or a build tool for the HTML and CSS chapters.

Course tracks

HTML

Structure and meaning. You will mark up headings, paragraphs, links, images, lists, tables, forms, and page sections.

CSS

Presentation. You will link a stylesheet and learn how to control colour, spacing, type, layout, and responsive behaviour.

JavaScript

Not available yet. The JavaScript page explains what is planned. Finish the HTML and CSS tracks first.

How to use the notes

  • Work through the chapters in order the first time. Later chapters assume you have seen the earlier ones.
  • Type the examples yourself instead of copying them. You will remember the mistakes you fix.
  • Do the short practice tasks. Reading code is not the same as writing it.
  • Use the navigation at the end of each page. It follows the order of the course.

When something does not work

The page is blank. Check that the file ends in .html and that you opened the file you just saved.

The tags appear as text. Check the file extension. A file named index.txt will show the markup instead of rendering it.

The styles do not apply. Check that the stylesheet is in the same folder as the HTML file and that the href matches its name exactly.

The browser still shows the old version. Save the file, then reload the page. If that fails, clear the cache or open the file again.