Consica Labs

Consica Labs
Chapter 14

Build Your First Website

Building your first complete portfolio website page

Definition

Building a website involves planning a layout, structuring it with semantic HTML tags, styling it with CSS rulesets, and launching it.

Think of Build Your First Website as:

Architectural paint
Structural joints
Filing folders
Adaptive scaling

Just as painting a room or adding furniture changes its look and usefulness, Build Your First Website modifies the webpage layout.

How It Works

Building a website starts with Project Planning — sketching a Wireframe to map out the layout and defining the File Structure (an Index HTML as your homepage, plus CSS and image folders). Then you write HTML for content, CSS for styling, and finally upload everything to a Hosting Service.

Household Object Analogy

Building a website is like constructing a house. Project Planning is the architect’s blueprint, the Wireframe is the floor plan that shows where each room goes, the File Structure is the organized set of construction documents, Index HTML is the front door that everyone enters through, and a Hosting Service is the land your house sits on, making it accessible to visitors.

Deeper Dive

Every successful website project depends on these three foundational steps:

Project Planning

Project Planning defines your site’s goal, target audience, and content hierarchy. Ask: Who is this for? What action should they take? What pages do I need?

Wireframe Sketching

A Wireframe is a low-fidelity sketch showing where the header, navigation, main content, sidebar, and footer go. Use paper, a whiteboard, or a digital tool like Figma.

File Structure Organization

A clean File Structure keeps your project maintainable: index.html at root, plus styles/, images/, and scripts/ subfolders.

Key Building Blocks

These are the essential components you will work with when building your first website:

Project Planning

The process of defining your website’s purpose, audience, and content before writing any code. Good planning prevents wasted effort and ensures your site meets its goals.

Wireframe

A simple visual blueprint that maps out where each element appears on the page. Wireframes ignore colours, fonts, and images — they focus purely on layout and structure.

File Structure

The organized arrangement of folders and files in your website project. A consistent structure makes it easy to find, update, and add new pages as your site grows.

Index HTML

The default homepage file that web servers automatically serve when a directory is visited. Every website needs an index.html at the root of its file structure.

Hosting Service

A company that stores your website files on its servers and makes them accessible on the internet. Popular beginner options include Netlify, GitHub Pages, and Vercel.

Responsive Check

The process of testing your website across different screen sizes and devices. Use browser DevTools responsive mode to simulate phones, tablets, and desktops before launch.

Building Your First Site

Start with Project Planning: decide your site topic (e.g., a personal portfolio) and sketch a Wireframe on paper. Create your File Structure with an Index HTML at the root. Write your HTML for structure and CSS for styling, testing each change in the browser. After development, sign up for a Hosting Service and upload your files. Finally, run a Responsive Check on multiple devices before sharing your site with the world.

Key Insight

Your first website doesn’t need to be perfect — it needs to exist. Start with a single Index HTML page that loads correctly, then iterate. The Project Planning and File Structure habits you build now will serve you for every future project.

Advanced

Modern development uses static site generators (like Eleventy or Hugo) that convert markdown files into a complete File Structure with a generated Index HTML and all subpages. This approach separates content (written in markdown) from design (templates), making large sites easier to maintain and update.

A Hosting Service like Netlify or Vercel can deploy your site automatically with one Git push. They generate preview URLs for every branch, roll back changes instantly, and handle Responsive Check testing across device labs. This eliminates the need for manual FTP uploads and makes collaboration with team members seamless.

Version control (Git) is the professional standard for managing your project. Initialize a repository in your File Structure, commit changes after each working feature, and push to GitHub. This gives you a backup, a historical record of every change, and the ability to experiment with new features on separate branches without affecting your live site.

Vocabulary Table

Term Definition
Build Your First WebsiteThe primary technological concept explaining how components interact within the context of Building Websites.
Styling RuleA CSS declaration that targets an HTML selector and sets values.
Layout BoxThe physical rectangle calculated by the browser for an element.
Hosting ServerA computer running 24/7 that serves website files to the public.
Project PlanningThe process of sketching, organizing, and outlining your website before coding
WireframeA simple visual blueprint showing the layout structure and element placement on a page
File StructureThe organized arrangement of HTML pages, CSS files, images, and folders in a project
Index HTMLThe default homepage filename that web servers automatically display when a directory is visited
Hosting ServiceA company that stores your website files on its servers and makes them accessible on the internet
Responsive CheckThe process of testing a website across different screen sizes and devices

Fun Facts

The Index HTML file is the default page every web server looks for � if you don't have one, visitors may see a directory listing or a 404 error.

A Wireframe can be as simple as a hand-drawn sketch on paper � many professional designers still start with pen and paper before opening any software.

A well-organized File Structure makes it easy to add new pages later � just create a new HTML file and link it from your navigation.

The very first web page was published on August 6, 1991, by Tim Berners-Lee at CERN, and it only contained text and links.

You can create and publish your first website for free today using services like Netlify, Vercel, or GitHub Pages.

Interactive Diagram

Launch the interactive simulation in the Consica Lab Engine.

Open Interactive Diagram →

The interactive diagram for this chapter demonstrates Build Your First Website. It shows a guided, step-by-step website builder showing HTML structure, CSS styling, and live preview.

What to explore:

  • add sections using buttons; edit text directly in the preview; see the code update automatically; publish when done
  • building a website combines HTML for content and CSS for styling — start with structure, then make it look good

Knowledge Check

1. What is the main purpose of Build Your First Website?

Correct Answer: To control layout design or structure

2. Which file format is used for standard web stylesheets?

Correct Answer: .css

3. What does the browser do during the painting phase?

Correct Answer: Draws pixels and colors on screen