Exams > Practice Exam 3: Final Exam Study Guide
What to Expect
The final exam covers the full web-development workflow from the semester:
- HTML gives the page structure and meaning.
- CSS controls presentation, layout, spacing, typography, and responsive behavior.
- JavaScript adds behavior, DOM updates, events, data transformation, and API calls.
- HTTP describes how the browser and server communicate.
- React organizes the UI into components that use props, state, lists, and effects.
The final is designed to emphasize reading, reasoning, and short code writing. You should expect questions that look similar to the quizzes, Exam 2, and the shorter activities from the second half of the course.
High-Priority Review List
HTML
You should be able to:
- write a valid HTML document structure
- choose semantic tags like
header,nav,main,section,article, andfooter - write links with relative and absolute paths
- write image tags with useful
alttext - write simple forms with labels, inputs, and buttons
- explain why semantic HTML and accessibility matter
Helpful review:
- Quizzes, especially the HTML quizzes
- Exam 1
- Exam 1 Practice
CSS
You should be able to:
- read and write CSS selectors
- explain the cascade and specificity at a beginner level
- use color, fonts, margins, padding, borders, and
box-sizing - create flexbox rows/columns with
justify-content,align-items, andgap - create grid layouts with
grid-template-columns,repeat,fr, andgap - write media queries with
min-widthormax-width - explain the difference between flexbox and grid
Helpful review:
- Quizzes, especially the CSS quizzes
- CSS Photo Gallery Activity
- Exam 1
- Exam 1 Practice
JavaScript
You should be able to:
- predict the value and type of variables
- read arrays and objects
- write function declarations and arrow functions
- explain
letvs.const - use conditionals and loops
- use
map,filter,forEach,toSorted, andjoin - select elements with
querySelectorandquerySelectorAll - update
textContent,innerHTML, attributes, styles, and classes - attach event handlers with
addEventListener
Helpful review:
- Functions Practice Activity
- Control Flow Practice Activity
- Array Methods Practice Activity
- JavaScript Review Activity
- Quizzes, especially the JavaScript quizzes
- Exam 2
- Exam 2 Practice
HTTP, Fetch + APIs
You should be able to:
- explain the client-server model
- describe common HTTP methods:
GET,POST,PATCH,DELETE - explain what
fetch()does - explain why
fetch()is usually used withasync/await - parse JSON with
await response.json() - send JSON with
JSON.stringify(...) - include headers like
Content-Type: application/json - explain bearer-token authentication and the
Authorizationheader - describe a REST-style endpoint
Helpful review:
- Browser-Server Communication Activity
- Fetch Activity
- JavaScript Review Activity
- Vintage Shoe Store REST API Activity
- Quizzes, especially the HTTP/fetch and infrastructure quizzes
React
You should be able to:
- explain what React, Vite,
package.json, and modules are used for - write imports and exports
- read and write JSX
- write components that receive props
- explain why components start with capital letters
- use
classNameinstead ofclass - use
useStatefor values that change - use event handlers like
onClick - render arrays with
map - include a stable
keyprop when rendering repeated elements - use
useEffectto fetch data after a component renders - explain the workflow: fetch data, parse JSON, store in state, render with
map
Relevant coursework:
- React Intro Activity
- React State Activity
- React Effects Activity
- Quizzes, especially React quizzes 01-05
Practice Prompts
Use these as quick self-check questions.
HTML + CSS
- Write a semantic page skeleton for a website with a header, nav, main area, and footer.
- Given a small file tree, write the relative path from one file to another.
- Write an image tag with meaningful alt text.
- Write a labeled text input and submit button.
- Write a flexbox rule for a horizontal navigation bar.
- Write a grid rule for a responsive card layout.
- Write a media query that changes a three-column layout into one column.
JavaScript
- Predict the output of a function that uses default parameters.
- Predict the output of
filter(...).map(...). - Explain the difference between
mapandforEach. - Write an event handler that changes text on the page.
- Write a function that turns one object into an HTML string.
- Write one expression that maps an array of objects into HTML and joins the result.
HTTP + Fetch
- Explain the difference between
GETandPOST. - Write a simple
fetchrequest that retrieves JSON. - Write a
POSTrequest that sends JSON. - Write a
fetchrequest with a bearer token. - Find the bug in code that forgets
await response.json().
React
- Write a component that receives a prop and renders it.
- Explain the difference between props and state.
- Write a counter component with
useState. - Render a list of objects with
mapandkey. - Write a
useEffectthat fetches data once and stores it in state.
Two-Hour Study Plan
- Spend 20 minutes reviewing HTML/CSS cheat sheets and Exam 1.
- Spend 25 minutes doing JavaScript output-prediction questions from Exam 2 and the quizzes.
- Spend 20 minutes practicing
map,filter,join, and DOM updates. - Spend 20 minutes writing two
fetchexamples: oneGET, one authenticatedPOST. - Spend 25 minutes writing small React components with props, state, lists, and effects.
- Spend 10 minutes writing down the 3 topics you still want to ask about or review again.
Final Self-Check
alt and aria-label attributes).map, filter, forEach, and join.fetch, async, await, JSON, and HTTP methods.package.jsonuseState to update the UI.map array function.useEffect fetch workflow.