
This lesson sets out the frontend developer's job: the part of a website you can see and touch. You will learn the three languages involved, why a page must work on a small screen, and the first steps for somebody starting today.
The frontend is everything that runs in your browser. The backend, by contrast, runs on a server and holds the data, and the two talk to each other over the network.
Before you begin
- About twenty minutes.
- A browser, and curiosity about how a page is made.
The three languages
- HTML gives the page its structure: headings, paragraphs, forms, and images.
- CSS gives it appearance: colours, spacing, size, and where things sit.
- JavaScript gives it behaviour: what happens when you click, type, or scroll.
- A page with only HTML works and looks plain.
- A page with CSS looks finished but does nothing.
- A page with JavaScript can respond, calculate, and load new information.
You will see all three in a browser: right-click a page and choose Inspect, and the panel shows the structure on one side and the styles on the other. That panel is the developer's main tool, and it is free.

It looks like a developer memorises the whole language before building anything. Most of the work is looking things up, and the skill is knowing what to look for.
The same page, three screens
- A page built for a laptop often breaks on a phone, with text too small and buttons too close.
- Responsive design means one page that rearranges itself for the screen size.
- The browser reports its width, and the styles choose a layout to fit.
- Test at three widths: a phone, a tablet, and a laptop.
- Check that buttons are big enough for a thumb, not only a mouse.
- Check the page on a slow connection, since most visitors are on one.
The layout will change as you drag the window narrower, with columns folding into one. That change is the whole point, and it happens without a second version of the site.

A day in the job
- Read the design and the ticket, then ask what happens on a small screen.
- Build the structure first, and check it works without styling.
- Add the styling, and compare with the design.
- Add the behaviour, and test the awkward cases: empty fields, slow network, long names.
- Fix what the reviewer finds, and write a short note on what changed.
- Deploy, then look at the page on a real phone rather than only the browser tool.
None of this needs a degree. A portfolio of three working pages, each solving a real problem, counts for more than a certificate alone.
Do not worry about the frameworks with unfamiliar names. They change every few years, and the three languages underneath do not.
When it fails
Each one has an answer.
- The page looks wrong in one browser: check the console for errors before changing the styles.
- A button does nothing: the script has an error, or the element name does not match.
- The layout breaks on a phone: a fixed width was used. Replace it with a flexible one.
- The page is slow: large images are the usual cause. Shrink them before anything else.
- Your changes do not appear: the browser cached the old file. Reload with the cache cleared.
- You copied code you do not understand: rewrite one line at a time until it makes sense.
Try it now
Build one page this week, even an ugly one.
- Create a file with a heading, two paragraphs, and a link.
- Open it in a browser and read it on a phone as well.
- Add a colour and a font size in a style block.
- Add a button that shows a message when clicked.
- Right-click and inspect one element, and change its colour in the panel.
You can now see the work behind a page you use. In the next lesson you will see what a machine learning engineer builds.
Free browser practice lab
Build in Code Studio
Write HTML, CSS, and JavaScript with instant live preview.



