Saltar al contenido ForoHackers

Frontend: start here

Frontend
#911 · Ophuscado · · Denunciar

Frontend is the part of a web application that runs in the user's browser: the page structure, its look, and how it responds to clicks, keys and data. It is where software meets people, so it combines programming with layout, accessibility and attention to devices and networks you do not control.

Key concepts

  • HTML, CSS, JavaScript: structure, presentation and behaviour; every framework compiles down to these three.
  • The DOM: the live tree of the page, which scripts read and change.
  • State and rendering: the data on screen and the code that keeps the view in step with it.
  • Events and asynchrony: user input, timers and network replies arrive when they like.
  • Accessibility and responsiveness: the page must work with a keyboard, a screen reader and any screen size.

Vocabulary

  • Component: a reusable piece of interface with its own markup, style and logic.
  • Single-page application: an app that loads once and updates the page without full reloads.
  • Bundler: a tool that combines and optimises scripts and assets for delivery.
  • Hydration: attaching behaviour to HTML that was already rendered on the server.

What to study, in order

  1. Write a page in plain HTML with real semantics: headings, lists, forms, links.
  2. Style it with CSS, and make it work at phone and desktop widths.
  3. Add JavaScript that changes the DOM, handles events and fetches data.
  4. Build the same small app by hand, then with one framework, and notice what the framework solves.
  5. Test with the keyboard, a screen reader and a slow network.

Related tags

#css #javascript #web-frameworks #accessibility

Inicia sesión o únete para responder.