← Software engineering

Building applications

The front end

前端

The front end is everything users see and interact with in the browser. It is built with three languages: HTML for the page structure, CSS for its look and colours, and JavaScript for interaction.

Libraries and frameworks make large interfaces easier to build, the best known being React, Vue and Angular. This site is built with React through the Next.js framework, and its pages are split into small reusable components.

Responsive design makes a page work well on both phones and computers, rearranging elements according to screen width.

Accessibility also matters: everyone should be able to use the site, including people using screen readers or only a keyboard, through alt text for images and enough colour contrast.

Good interfaces also support both directions: right-to-left for Arabic and left-to-right for English and Chinese, as this site does.

Ask the AI assistant

Ask anything about this lesson and get a simple answer with the terms in Chinese, Arabic and English.

The AI assistant runs on Google's Gemini model and can make mistakes. Do not write personal information. Available to signed-in learners, up to 30 requests a day.

The content is simplified and covers the basics only.