learning to code,
answered.
Plain-English guides to the questions every beginner asks, with code you can run right on the page.
latest.
follow by rssmonday, 9 Nov
4 posts- 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
- 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
sunday, 8 Nov
4 posts- 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
- pythonguidesparsing JSON in Python: a practical beginner guideUse json.loads() to turn JSON text into Python dictionaries and lists, then read values with square brackets. Examples, common errors and an exercise.8 min
- pythonguidespython’s print() function explained: a practical beginner guideprint() shows text and values on screen. Learn quotes, commas, sep, end and f-strings, plus the mistakes beginners make, with examples you can run.8 min
- pythonguideswhat does a computer program do? A practical beginner guideA program is a list of instructions a computer follows exactly. See the four jobs every program does, with real examples you can run in your browser.8 min