A team chooses Next.js for a new project. Explain what Next.js adds beyond the features of React.
Web Applications — Fundamentals of Frontend Technology
About this lesson
This unit introduces the fundamentals of frontend technology by explaining the three technologies that build a web page: HTML defines the structure (skeleton), CSS specifies the appearance (colors, layout, size, fonts), and JavaScript adds behavior and interactivity. It uses the analogy of a building — HTML as the frame, CSS as the interior and exterior, and JavaScript as the electrical and plumbing systems — and shows how the three layers combine to make modern web pages. The unit then extends this to what makes a modern frontend: semantic HTML with meaningful tags such as <header>, <nav>, <main>, and <footer>, which improves accessibility for screen readers and SEO for search engines; responsive design, which automatically adjusts the layout to different screen sizes such as PCs, smartphones, and tablets, including the mobile-first concept; and frameworks such as React, Vue, and Next.js, which provide ready-made functions so developers do not write all code from scratch. Students work through the roles of HTML, CSS, and JavaScript using examples such as a page about favorite books, a library page that lists books and filters results as the user types, and a student club page that lists events, uses the club's colors, and has a live sign-up counter. Activities include true/false and matching questions, an exam-style question worth 6 marks, a 'Think as an Engineer' investigation where students observe a web page they use often and decide which technology handles each feature, and a reflection on structure, style, and behavior. By the end, students should be able to explain the distinct roles of HTML, CSS, and JavaScript, describe the benefits of semantic HTML for accessibility and SEO, explain why responsive design is needed, describe what a framework is and name major frontend frameworks, and apply these ideas to recommend how a simple web page should be built.
Main topics in this lesson
- Roles of HTML, CSS, and JavaScript
- Semantic HTML and its benefits
- Accessibility and SEO
- Responsive design and mobile-first
- Frontend frameworks (React, Vue, Next.js)
- Applying frontend technologies to a web page project
Key terms and vocabulary
- HTML
- CSS
- JavaScript
- semantic HTML
- accessibility
- SEO (Search Engine Optimization)
- responsive design
- mobile-first
- framework
- React
- Vue
- Next.js
- structure
- appearance
- behavior
Questions and answers on Web Applications — Fundamentals of Frontend Technology - practice and revision
Multiple choice questions on this lesson in Programming and AI for 2nd secondary - bachaloria, First Term, with practice exercises for revision and exam preparation.
A page about favorite books is built with HTML, CSS, and JavaScript. Explain the role of each technology in this page.
A web page uses CSS to set the colors, layout, and fonts. Explain what would happen to the page if the CSS were removed, using the building analogy.
A library page lists books and filters the results as the user types. Explain which of the three technologies is responsible for the filtering and which one is responsible for the list of books.
A page for a student club must list events, use the club's colors, and show a live sign-up counter. Explain which technology handles the live counter and why.
A student wants to build a web application incrementally from small features and prefers a simple structure. State which major frontend framework fits this need.
Turn this unit into a ready quiz
Generate a quiz from this unit, send it to your class, and let the answers be graded for you.
Start free