Web Foundations: HTML and CSS
Build your first web page from scratch and understand how pages are structured and styled.

Taught by Khalid Al-Balushi
What you will learn
- Write a well-structured HTML page with headings, paragraphs, lists, links and images
- Style it with colours, fonts and spacing in CSS
- Lay elements out with Flexbox and make the page work on phones
- Publish your page online for free
About this course
A free course for people who have never written a line of code. We start with a simple question: what happens when you open a page in the browser? Then we write a personal page step by step in HTML and style it with CSS until it looks good on phones and laptops.
By the end you will have a real page where you understand every line, and a solid base for learning JavaScript next.
Before you start
- A computer and a modern browser
- No previous experience needed
Syllabus
4 sections · 10 lessons · 1 h 33 min
How the web works2 lessons · 14 min
- What happens when you type an address?Free preview6 min
- Setting up your tools8 min
Structure with HTML3 lessons · 28 min
- The skeleton of every page9 min
- Headings, paragraphs and lists10 min
- Links and images9 min
Styling with CSS3 lessons · 33 min
- Your first stylesheet10 min
- The box model and spacing11 min
- Layout with Flexbox12 min
Mobile and publishing2 lessons · 18 min
- A page that works on phones10 min
- Publish your page8 min
- Web foundations quiz5 questions
Your instructor

Senior software engineer and web development trainer · 4 courses
Khalid has been building web applications for more than twelve years, including booking and payment systems for companies in Oman and the UAE. He believes programming is learned by building, not memorising, so every one of his courses ends with a real project.
Questions
Do I need paid software?
No. We only use the free VS Code editor and your browser.
Is the course really free?
Yes, and you also get the certificate when you finish the lessons and pass the quiz.
How long do I keep access?
The course stays in your account with no time limit, including any updates to its lessons.
How do I get the certificate?
When you finish every lesson and pass the required quizzes, issue it from the course page. It carries a code anyone can verify.
Can I get a refund?
Yes, within 14 days of purchase if you have completed less than 20% of the lessons. Contact us from the messages page.
Reviews
3.7
3 reviews
- 5 ★0
- 4 ★2
- 3 ★1
- 2 ★0
- 1 ★0
- أأسماء الجابرية1 Nov 2026
جيدة كبداية، لكنني كنت أتوقع تعمقًا أكبر في بعض المواضيع.
- OOmar Haddad8 Jul 2026
A good experience overall, and the instructor answers questions quickly in messages.
- ززينب العبرية1 Jul 2026
دورة مفيدة جدًا، والاختبار كان مناسبًا. بعض الدروس تحتاج أمثلة أكثر.