Consica Labs

Consica Labs
Chapter 6

Website Design Project

Coding HTML structures and applying CSS style sheets

Introduction

The Website Design Project teaches you how to build web pages using HTML for structure and CSS for visual styling.

Every website you visit is built on a foundation of HTML that defines headings, paragraphs, links, and images, and CSS that controls colors, fonts, spacing, and responsive layouts.

In this project, you will create a multi-page website from scratch, learning semantic HTML, CSS Flexbox and Grid, responsive design principles, and web accessibility standards.

How It Works

The Website Design Project uses HTML (HyperText Markup Language) to create the content structure and CSS (Cascading Style Sheets) to control layout and visual presentation. The browser renders both into the final page you see.

Everyday Object Analogy

Think of HTML as the skeleton and bones of a house — it defines where walls, rooms, and doors go. CSS is the paint, wallpaper, furniture, and decorations that make the house look beautiful and inviting. JavaScript would be the electricity and plumbing that makes things interactive.

Building Blocks of a Website

Every website is built from three core technologies:

1. HTML

Defines the content structure with tags.

2. CSS

Controls colors, fonts, spacing, and layout.

3. JS

Adds interactivity and dynamic behavior.

Deeper Dive

In professional web development, semantic HTML (using tags like <header>, <nav>, <main>, <article>) improves accessibility and search engine optimization. CSS preprocessors like Sass or Tailwind CSS help manage complex stylesheets efficiently.

Responsive design with CSS media queries ensures websites work on phones, tablets, and desktops. The CSS Box Model (content, padding, border, margin) governs how every element's space is calculated on the page.

Key Insight

Over 1.9 billion websites exist on the internet today. Every single one of them uses HTML, and over 95% use CSS. Together, they form the foundation of the entire World Wide Web.

Vocabulary Table

Term Definition
Website Design ProjectA project focused on building web pages with HTML and CSS.
HTMLHyperText Markup Language, the standard language for creating web pages.
CSSCascading Style Sheets, used to style and layout HTML elements.
ElementAn individual HTML tag and its content, like <p> or <div>.
SelectorA CSS pattern used to target HTML elements for styling.
Box ModelThe CSS concept where every element is a box with content, padding, border, and margin.
FlexboxA CSS layout mode that distributes space along a single axis.
GridA CSS layout system that divides a page into rows and columns.
ResponsiveA design approach where web pages adapt to different screen sizes.
AccessibilityDesigning websites usable by people with disabilities.

Fun Facts

Interactive Diagram

Launch the interactive diagram to see this in action.

Open Interactive Diagram

The interactive diagram for this chapter demonstrates Website Design Project. It shows a complete website design workflow: wireframing, designing, coding, and deploying.

What to explore:

  • create a wireframe; add styling; preview the site; deploy it and see it go live
  • this project takes you through the full website creation process from initial sketch to live deployment

Knowledge Check

1. What does HTML stand for?

Answer: HyperText Markup Language

2. What is the purpose of CSS?

Answer: To style and layout HTML elements

3. What is responsive web design?

Answer: Designing pages that adapt to any screen size