Frontend Developer Roadmap
Build accessible, responsive interfaces and publish a working project people can try.
Start with a browser and a text editor. HTML, CSS and JavaScript are enough for the first four steps. Work on the same event finder as you learn so each new skill solves a problem you have actually run into.
Your progress
Saved in this browser.
Roadmap flowchart
Choose a milestone to jump to the lesson, exercises and resources.
- Main path
- Optional branch
Start here
- Build the page with semantic HTML and CSSComplete
- Read what the browser is doingComplete
- Make the event list respond to peopleComplete
- Handle loading, errors and shareable filtersComplete
- Split the interface into reusable piecesCompleteOptional branch: Choose a component approach
- Check the flow without a mouseComplete
- Publish and observe a first-time visitComplete
- Portfolio projectA public event finder
One-shot courses and practice labs
Create a folder with an HTML file, a stylesheet and a sample events file. Start with a static event finder. Each course adds something to that same project, so you can see what the new technique buys you.
Use the focus list to choose what to watch. Pause to do the lab while the material is fresh. Each lab builds toward the project at the end of this roadmap.
Learn HTML & CSS
freeCodeCamp.org · About 5 hours
- VideoWatch on YouTube
What to focus on
- Semantic HTML, links and images
- The box model, spacing and flexible layouts
- Inspecting a layout when content gets wider than expected
Related lessons
Practice lab
- Sketch a listing and one detail page. Write the HTML by hand and check that headings, links and buttons still make sense with styles turned off.
- Build a one-column layout first. Add a wider layout only when the cards have enough room. Test a long title, a missing image and a 320px screen.
- Inspect a cramped card in DevTools. Record the rule that caused the problem and fix it without changing the event title.
What to have at the endA static listing and detail page that a friend can navigate with a keyboard. Include one screenshot at phone width and one at desktop width.
JavaScript Programming
freeCodeCamp.org
- VideoWatch on YouTube
What to focus on
- Arrays, objects and functions
- Events and updating the DOM
- Using project exercises to practise state and rendering
Related lessons
Practice lab
- Write a pure function that receives an array of events and a category. Try it on an empty array and an unknown category before connecting it to the page.
- Connect the filter to a form control. Derive the result count from the same filtered array you render. Put the category in the URL and check it survives a fresh tab.
- Use the lesson’s Fetch guide to load JSON. Test slow loading, an unavailable file and a successful response with zero matches as three separate cases.
What to have at the endA browser demo with a shareable filter and an error state the visitor can recover from. Explain where the selected value lives and which values you derive from it.
Learn React with Bob Ziroll
freeCodeCamp.org · About 16 hours
- VideoWatch on YouTube
What to focus on
- Reusable components and props
- List rendering, state and derived values
- Forms and effects when the app needs them
Related lessons
Practice lab
- Give React a small piece of the project first. Extract an event card, a filter and a result count. Let the nearest shared parent own the filter value.
- Make the same accessibility and failure checks you used before the refactor. Try the whole journey with a keyboard and check that a failed fetch leaves the filter intact.
- Publish the project and ask a first-time visitor to find one event and share its link. Fix one thing based on what they actually do.
What to have at the endA live demo with a short before-and-after note about the component refactor and a keyboard test that you or a reviewer can repeat.
Lessons and resources
Build the page with semantic HTML and CSS
Give the event list a useful document structure before styling it. Use headings to show the hierarchy, anchors for navigation and buttons for actions. Then learn enough of the box model, cascade, flexbox and grid to explain why each part takes up the space it does.
Put it into practice
Write the list and one event detail page by hand. Put the longest event title you can think of in the first card, then resize the browser until the columns need to change. That width is a better breakpoint than an arbitrary device preset.
Ready to move on?
The listing fits at 320px with readable labels, no horizontal scroll and visible focus on every link.
Common snag
A div with a click handler has none of a button’s built-in keyboard behavior. Reach for a button first.
Resources
- PracticeCSS layout exercises — web.dev
Read what the browser is doing
Use Elements to inspect computed styles, Console to read errors, and Network to confirm which files loaded. The Network panel can tell you whether an image path is wrong before you spend time rewriting CSS.
Put it into practice
Break one file path on purpose in your local project, reload with DevTools open and find the failed request. Fix it, then throttle the network and watch what becomes visible before the event data arrives.
Ready to move on?
You can find a missing file and explain which request or CSS rule caused a visible issue without guessing.
Resources
Make the event list respond to people
Start with arrays, objects and event listeners. Separate the data you have from the state the visitor controls, such as a selected category. A single render function can then keep the cards, the result count and the empty message in sync.
Put it into practice
Load events from a local JSON file and wire up a category select. Keep the data in a single array, derive a filtered array and render the visible cards from it. Test the default selection, a category with one match and a category with none.
Ready to move on?
You can add an event to the JSON file and see it picked up by the filter without editing the rendering code.
Common snag
Treat text from JSON as text. Use textContent or templating that escapes values, especially if the data source changes later.
Resources
- GuideMDN JavaScript Guide
- PracticeJavaScript exercises — Exercism
Handle loading, errors and shareable filters
A fetch request can resolve even when the server returns a 404, so check the response status before reading JSON. Think through what the visitor sees while loading, after an error, when no events match and when results are ready. Store a meaningful filter in the URL so it can survive a reload or be shared.
Put it into practice
Add a loading message and a retry control. Temporarily point the request at a missing file and verify that you get the load error instead of the no-matches message. Paste a filtered URL into a new browser tab and confirm that it restores the selection.
Ready to move on?
Someone can open a shared filter link and recover from a failed data request without reloading the whole page.
Resources
- GuideMDN Fetch API guide
- ReferenceMDN URLSearchParams reference
Split the interface into reusable pieces
Learn to identify the smallest state you need. When the selected category changes, recalculate the filtered array and its count from the new selection. Extract pieces when they have a clear input and responsibility, such as a card that displays one event or a filter that reports the selected value.
Put it into practice
Draw a tiny component tree before you touch the code. Put the selected category at the nearest common parent of the controls and results. Rebuild one card and the filter, then make sure the empty state still appears without maintaining a separate count.
Ready to move on?
Changing one filter updates the select, list and count together. A card can render the same way on another page using just its event data.
Optional branch
Choose a component approach
Try React if the roles you are aiming for expect it. If the page is still small, keeping plain JavaScript and extracting rendering functions teaches the same separation of responsibilities with less setup.
Resources
- GuideThinking in React
- ReferenceReact state structure
Check the flow without a mouse
Keyboard testing shows whether a visitor can reach controls, see focus and leave a component. A browser test can protect the main journey after future changes. Pick a user action a reviewer would notice if it broke, such as filtering by category from a copied link.
Put it into practice
Run the event-finding task with just Tab, Shift+Tab and Enter. Check zoom and contrast, then write a browser test that visits a filtered URL and asserts the result a visitor can read.
Ready to move on?
You can show one corrected issue from a manual accessibility review and one test that catches a real regression.
Resources
- PracticeW3C accessibility checks
Publish and observe a first-time visit
A site can work locally and still fail at a public URL because paths, case sensitivity or build output changed. Verify the deployed build from a fresh session. A short README should explain who the site is for, how to run it and where the visitor can see your work.
Put it into practice
Publish the site and open its event finder directly from an incognito tab, then hand the URL to someone with a simple task such as finding a weekend event. Let them narrate and write down where they pause.
Ready to move on?
The live link, assets and shared filters work in a fresh session. You can explain one change made after watching someone use it.
Resources
- ReferenceGitHub guidance on READMEs
Portfolio project
A public event finder
Publish a site for sample local events. Visitors should be able to browse the list, filter by interest, open an event and share a filtered view. Start with six invented events so you can control edge cases, such as a missing venue or a very long title.
You’re ready when
- A visitor can filter, open an event and return to the results using the keyboard alone.
- A shared URL restores the selected filter on a different device.
- Loading, failed requests and zero matches each have a different message with a useful next step.
- The README links to the live demo and names one issue you found during testing, including how you fixed it.
Make your first ask
Send the live URL with a specific observation. For example, explain that the first version lost a filter when shared, then show how links now preserve it. That gives an interviewer something concrete to ask you about.
Entry-level job email templates