learning to code,
answered.
Plain-English guides to the questions every beginner asks, with code you can run right on the page.
html.
4 posts
clear all- 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
- html, cssguidesCSS selectors explained: a practical beginner guideA selector tells CSS which elements to style. Learn tag, class, id, child and pseudo-class selectors, which rule wins, and the mistakes to watch for.8 min
- html, cssguidesHTML document structure explained: a practical beginner guideEvery web page shares one skeleton: a doctype, then html, head and body. What each part does, what goes where, and what happens when you leave bits out.8 min
- 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