learning to code,
answered.

Plain-English guides to the questions every beginner asks, with code you can run right on the page.

javascript.

4 posts

clear all
  1. javascript, html, css, phpunder the hoodhow websites work: a guide for new developersA website is files and programs on a server. Follow one visit from address to page: DNS, requests, responses, status codes, HTML, CSS and JavaScript.9 min
  2. javascript, typescriptcomparisonsTypeScript vs JavaScript: a practical beginner guideTypeScript is JavaScript with types added, checked before your code runs. See the same bug in both, what types look like, and which to learn first.8 min
  3. javascript, htmlguidesselecting DOM elements in JavaScript: a practical beginner guideUse querySelector() for the first match and querySelectorAll() for every match. A plain guide to finding page elements, with the mistakes to avoid.8 min
  4. javascriptguidesJavaScript console.log() explained: a practical beginner guideconsole.log() shows values in the console so you can see what your code is doing. Where to find it, how to use it to find bugs, and the usual mistakes.8 min