Saltar al contenido ForoHackers

Frontend: start here

Frontend
#3417 · · Citar · 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

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder