Interactive roadmap
Frontend for Absolute Beginners roadmap
This gentle path is for complete beginners who want to understand how the web works and build their very first pages from scratch.
- 1
How the Web Works
0 of 2 done
Understand the core concepts behind websites and browsers.
Take your time understanding the basics; knowing how data moves across the internet makes everything else much easier. - 2
Your First HTML Page
0 of 3 done
Build the structural skeleton of a webpage using HTML tags.
Practice writing tags in pairs so you never forget to close your elements properly. - 3
Styling with Basic CSS
0 of 3 done
Add colours, fonts, and layout rules to make your pages look great.
Experiment with different colours and sizes to see how small styling changes transform a plain page. - 4
A Little JavaScript
0 of 3 done
Bring your static pages to life with simple interactive scripts.
Keep your first JavaScript experiments small and check your browser console if something does not work. - 5
Publishing Your First Site
0 of 2 done
Share your creation with the rest of the world online.
Always double check your file paths if images or stylesheets fail to load on your live site.
Learn it all, with a tutor that never sleeps
Every topic links to LevelUp lessons, practice exercises and the 24/7 AI Tutor. Your progress updates as you master lessons.
Every topic explained
Step 1: How the Web Works
- Learn how your computer asks for web pages and how remote computers send them back.MDN How the web works
Read more
When you browse the internet, your device acts as a client requesting information. Your web browser sends a message across the internet to a remote computer called a server. The server stores website files and sends them back so the browser can display them.
Imagine ordering food at a restaurant counter. You are the browser placing an order, the server is the kitchen preparing the meal, and the internet is the waiter bringing your food back to your table.
Understanding this client-server relationship is crucial because every website you ever build will rely on this exact communication loop to reach your users.
- Clients request web pages
- Servers store and send website files
- The internet connects clients and servers
- Discover what frontend means and the three main languages used to build visible website parts.
Read more
Frontend development refers to everything users see and interact with directly in their web browser. It is built using three core languages working together: HTML for content structure, CSS for visual styling, and JavaScript for interactive behaviour.
Think of building a house. HTML is the wooden frame and brick walls that give the house its structure. CSS is the paint, carpet, and interior design that make it look nice. JavaScript is the electricity and plumbing that let lights turn on and taps flow.
Knowing the frontend trio is essential because it forms the visual foundation of every single website you will ever create.
- HTML structures the page content
- CSS handles colours and styling
- JavaScript adds interactive features
Step 2: Your First HTML Page
- Learn how to wrap text in tags to tell the browser what headings, paragraphs, and lists are.MDN HTML basics
Read more
HTML uses tags enclosed in angle brackets to mark up text and tell the browser how to display it. Most elements have an opening tag and a closing tag with content sandwiched in between them.
Think of tags like sticky notes on a document. You might put a note saying heading at the top of a page and a note saying paragraph next to a block of text so anyone reading it knows what is what.
Getting comfortable with tags matters because they are the fundamental building blocks of all web content.
- Tags use angle brackets like p and h1
- Most elements need an opening and closing tag
- Browsers use tags to understand content structure
- Put together a complete document layout using essential tags like head and body.
Read more
Every proper web page needs a standard layout structure to work correctly. This includes a declaration to tell the browser it is modern HTML, an outer html wrapper, a head section for background details, and a body section for visible content.
Imagine writing a formal letter. You need an envelope with an address, a date at the top, and the main letter text inside. The page structure is the envelope and paper layout combined.
Learning this basic layout is vital because browsers expect pages to be organised this way before they render anything properly.
- Use thedoctype html declaration at the top
- The head section holds page settings
- The body section contains visible page elements
- Add clickable hyperlinks and pictures to your pages using simple attributes.
Read more
Web pages are rarely isolated; they connect to other pages and display pictures using special HTML attributes. Attributes provide extra information inside an opening tag, such as where a link should lead or where an image file is saved.
Think of a book with page numbers in the index and picture illustrations pasted onto the pages. Attributes act like those specific directional pointers.
Mastering links and images is important because they transform a plain text document into an engaging, interconnected multimedia web page.
- Use anchor tags with href for hyperlinks
- Use image tags with src for pictures
- Attributes live inside the opening tag
Step 3: Styling with Basic CSS
- Target specific HTML elements so you can change how they look on the screen.MDN CSS first steps
Read more
CSS selectors allow you to target specific HTML elements on your page so you can change their appearance. You write rules that specify an element name, class, or id, followed by styling properties like colour or font size.
Imagine a teacher calling out to all students wearing red jumpers to stand up. The selector is the rule identifying who to target, and the instruction to stand up is your styling property.
Learning selectors is essential because without them, you cannot control how your website looks or make it visually appealing.
- Selectors target specific HTML elements
- Rules include property names and values
- Multiple elements can share the same style
- Understand how margins, borders, and padding create space around every element.
Read more
Every single element on a web page is treated by the browser as a rectangular box. The box model defines how space is managed around that element using content, padding, borders, and margins.
Think of a framed photograph on a wall. The photo itself is the content, the mount card around the photo is padding, the picture frame is the border, and the space between frames on the wall is the margin.
Understanding the box model is crucial because it stops your website elements from crashing into each other and helps you create clean layouts.
- Content sits at the centre of the box
- Padding creates inner space around content
- Margins create outer space between elements
- Arrange items side by side or stacked vertically using basic layout tools.
Read more
Simple layouts let you arrange items neatly on your web page, either stacking them in columns or lining them up in rows. Modern layout tools make it easy to control how elements flow across different screen sizes.
Imagine arranging books on a bookshelf. You can stack them flat in a vertical pile or stand them upright side by side in a neat horizontal line.
Knowing how to arrange items is vital because a well-organised layout makes your website easy for visitors to read and navigate.
- Elements stack vertically by default
- Layout tools help align items side by side
- Spacing controls keep designs balanced
Step 4: A Little JavaScript
- Learn how to save small pieces of information in your code to use later.MDN JavaScript first steps
Read more
Variables are like little storage boxes in your computer memory where you can save pieces of information. You give each box a name so you can retrieve, update, or check its contents later in your code.
Think of labelled storage tubs in your garage, such as a tub labelled winter clothes. You know exactly what is inside without having to open every single container.
Mastering variables is important because your programs constantly need to remember user inputs, scores, settings, and other data while running.
- Variables store data values in memory
- Every variable has a unique identifying name
- Stored values can be changed later
- Group reusable blocks of code together so your program can run them on demand.
Read more
Functions are reusable blocks of code designed to perform a specific task whenever they are called. Instead of repeating the same instructions over and over, you write them once inside a function and run them on demand.
Imagine a coffee machine button. You press it once, and the machine runs a pre-set sequence of grinding, heating, and pouring every time without you doing each step manually.
Understanding functions is essential for writing clean, efficient code that does not repeat itself unnecessarily.
- Functions group reusable code together
- They only run when called or triggered
- They help keep your code organised
- Make your website react when a user clicks a button or types in a box.
Read more
Events are actions that happen in the browser, such as a user clicking a button, moving the mouse, or typing text. JavaScript can listen for these events and run code to update the page instantly in response.
Think of an automatic sliding supermarket door. The sensor detects movement, which triggers the motor to open the glass doors for you.
Learning DOM events is crucial because it turns your static web pages into interactive applications that react to user behaviour.
- Events detect user actions like clicks
- Listeners wait for specific triggers to occur
- Response code updates the page dynamically
Step 5: Publishing Your First Site
- Keep your HTML, CSS, and image files neatly ordered in folders so the browser finds them.
Read more
File organisation is the practice of keeping your HTML, CSS, JavaScript, and image files neatly sorted into logical folders. When your project grows, proper structure ensures your code files can find each other without breaking.
Imagine a filing cabinet where tax documents, recipes, and holiday photos are tossed into one giant drawer. Organising them into clear folders makes finding what you need effortless.
Good organisation matters because web servers are strict about file paths, and messy folders lead to broken website links.
- Keep HTML files in your root folder
- Store images and stylesheets in dedicated subfolders
- Use clear, lowercase filenames without spaces
- Use free beginner-friendly hosting platforms to put your website live on the internet.
Read more
Hosting is the process of uploading your website files to a public web server so anyone on the internet can visit your site. Free beginner platforms make this process simple by publishing your code directly from your project folders.
Think of renting a display window in a local shopping arcade to showcase your artwork to passers-by instead of keeping it locked in your bedroom.
Learning publishing basics is rewarding because it lets you share your very first completed website projects with friends, family, and the world.
- Hosting puts your files on a public server
- Free beginner platforms simplify deployment
- Your site gets a live web address