for inline code and for code blocks. Live examples for whitespace, long lines and tab-size, plus a block with line numbers and a copy button.
- [The HTML em tag: stress emphasis, not just italics](https://nos-workspace.com/learn/html-em-tag): The em tag marks stress that changes what a sentence means. Live examples of em vs i vs cite, true and fake italics, and styling emphasis without italics.
- [Font size in CSS: px, em, rem, % and vw](https://nos-workspace.com/learn/css-font-size): What each font-size unit measures from, why em shrinks nested lists, why rem follows the reader's text setting, and fluid type with clamp(). Live examples.
- [addEventListener in JavaScript, with live examples](https://nos-workspace.com/learn/addeventlistener): How addEventListener works: vs onclick, target vs currentTarget, bubbling and capture, once, passive and signal, and why removeEventListener seems not to work.
- [The HTML meter element: a gauge for a known range](https://nos-workspace.com/learn/html-meter): How the HTML meter tag shows a level in a known range, why its colour changes with low, high and optimum, meter vs progress, and how to style it. Live examples.
- [CSS border-radius: rounded corners, circles, pills and blobs](https://nos-workspace.com/learn/css-border-radius): How CSS border-radius works: one to four values, the slash syntax for oval corners, circles, pills, nested corners, clipping children, and blob shapes. Live demos.
- [CSS float: wrap text around images, and the fixes that come with it](https://nos-workspace.com/learn/css-float): What CSS float is for, with live examples: wrap text around an image, clear: both, fix a parent with zero height, and wrap text around a circle with shape-outside.
- [The HTML mark tag: highlight text the right way](https://nos-workspace.com/learn/html-mark-tag): The mark tag highlights text that matters right now, such as search matches. Live examples of styling it, mark vs strong vs span, and a safe search-in-page box.
- [Build a hamburger menu with CSS and a little JavaScript](https://nos-workspace.com/learn/hamburger-menu-css): Build a hamburger menu with a real button, a CSS icon that turns into an X, a drop-down or drawer, and closing on Escape, link click and outside click.
- [How to center a div (and pick the right way)](https://nos-workspace.com/learn/center-a-div): How to center a div horizontally and vertically: flex, grid, margin auto, text-align and absolute positioning, tried live, plus why centering is not working.
- [setTimeout and setInterval in JavaScript](https://nos-workspace.com/learn/settimeout-setinterval): How setTimeout and setInterval work, how to stop them with clearInterval, why timers drift, and how to debounce input. Live examples to try and code to copy.
- [thead, tbody and tfoot: the three parts of an HTML table](https://nos-workspace.com/learn/html-thead-tbody): What thead, tbody and tfoot do, why the browser adds a tbody you never wrote, how to group rows with several tbody elements, and a live table with totals.
- [The caption tag, colgroup and col: title a table and style its columns](https://nos-workspace.com/learn/html-table-caption): Give a table a real title with , move it with caption-side, and style whole columns with and . Live demos show which CSS works on col.
- [The td, th and tr tags: rows and cells in an HTML table](https://nos-workspace.com/learn/html-th-td-tr): What the td, th and tr tags do, how th differs from td, when to add scope, and how to pad and align cells. Live examples to try, code to copy, and fixes.
- [dl, dt and dd in HTML: description lists for names and values](https://nos-workspace.com/learn/html-dl-dt-dd): How the HTML dl, dt and dd tags work: several dd per dt, div groups, the default indent, a two-column CSS grid, and when to use dl instead of a table or ul.
- [The HTML ruby tag: small readings above your text](https://nos-workspace.com/learn/html-ruby-tag): Use the HTML ruby tag with rt and rp to put small readings above text: furigana for kanji, pinyin for Chinese. Live examples, CSS for rt, and fixes.
- [The HTML template tag: write markup once, stamp it out with JavaScript](https://nos-workspace.com/learn/html-template-element): The HTML tag holds markup that stays hidden until you clone template.content. Live examples for repeating rows, slots and a small custom element.
- [The HTML style tag: CSS inside the page](https://nos-workspace.com/learn/html-style-tag): The HTML style tag puts CSS inside the page. Where it goes, why order and specificity decide the winner, the media attribute, and swapping themes with JavaScript.
- [Build a toggle switch with HTML and CSS](https://nos-workspace.com/learn/css-toggle-switch): Build a toggle switch in HTML and CSS on a real checkbox: track, knob, keyboard focus, disabled state, sizes, iOS look, a button version, and fixes when it breaks.
- [The HTML popover attribute: menus and panels without the z-index fight](https://nos-workspace.com/learn/html-popover): Open menus and panels with the HTML popover attribute and a button, no JavaScript needed. Auto vs manual, styling, positioning and popover vs dialog, live.
- [Make an element fullscreen in HTML with the Fullscreen API](https://nos-workspace.com/learn/fullscreen-api): Make any element fullscreen with one JavaScript call: a fullscreen button, exit detection, :fullscreen styling, iframe permission, and fixes when it is refused.
- [Blob URLs in JavaScript: make a file in the browser and give it an address](https://nos-workspace.com/learn/blob-url): Make a file in the browser with new Blob(), give it a blob: URL with createObjectURL, and use it for downloads and previews. Live examples, code, and fixes.
- [classList in JavaScript: switch CSS classes without touching the rest](https://nos-workspace.com/learn/classlist-javascript): How element.classList adds, removes, toggles and checks CSS classes, why className = wipes the others, and how class toggles drive tabs, accordions and transitions.
- [CSS text-overflow: ellipsis, and why it sometimes does nothing](https://nos-workspace.com/learn/css-text-overflow-ellipsis): Cut long text with "..." in CSS: the three properties for one line, line-clamp for several lines, and fixes for when the ellipsis will not show in flexbox or tables.
- [CSS align-items: line items up across the row](https://nos-workspace.com/learn/css-align-items): align-items places flex and grid items across the main axis. Try stretch, center and baseline live, compare it with align-content, and fix it when nothing moves.
- [CSS text-shadow, from a soft lift to neon](https://nos-workspace.com/learn/css-text-shadow): How text-shadow works value by value, with a live generator, glow, neon, outline and letterpress examples to copy, and a fix for hard-to-read text over images.
- [Style a scrollbar with CSS](https://nos-workspace.com/learn/css-scrollbar): Style scrollbars with scrollbar-color, scrollbar-width and ::-webkit-scrollbar. Which one the browser uses, how to hide a bar safely, and scrollbar-gutter.
- [Make a loading spinner with CSS](https://nos-workspace.com/learn/loading-spinner-css): A CSS loading spinner from one div and a keyframe: ring, dots, bars, pulse and skeletons, sized in em, read by screen readers, and shown only after a delay.
- [CSS flex-wrap: let a row of items break onto new lines](https://nos-workspace.com/learn/css-flex-wrap): flex-wrap lets flex items move onto a new line instead of shrinking or overflowing. Try it live, set how many fit per row with gap, and fix a stretched last row.
- [CSS grid-template-columns and grid-template-rows, value by value](https://nos-workspace.com/learn/css-grid-template-columns): Every value grid-template-columns accepts, with a live builder that shows the column sizes in px. fr math, minmax(0, 1fr), auto-fill vs auto-fit, rows and areas.
- [The HTML checkbox: checked, value, select all and styling](https://nos-workspace.com/learn/html-checkbox): How the HTML checkbox works: checked attribute vs .checked, what a form sends, select all with indeterminate, accent-color and custom CSS boxes, with live demos.
- [Radio buttons in HTML: groups, values and styling](https://nos-workspace.com/learn/html-radio-button): How HTML radio buttons work: grouping by name, the default checked one, reading the value in JavaScript, keyboard use, and card-style radios in CSS. Live examples.
- [CSS pointer-events: let clicks pass through](https://nos-workspace.com/learn/css-pointer-events): pointer-events: none lets clicks, taps and hover go to whatever is underneath. Live examples, the child-with-auto trick, SVG values, and what it does not block.
- [Letter spacing in CSS: letter-spacing and word-spacing](https://nos-workspace.com/learn/css-letter-spacing): Set letter-spacing and word-spacing in CSS, and why em beats px. Live sliders, the off-centre button fix, ligatures, and a WCAG text spacing test to try.
- [Build a star rating in HTML, CSS and a little JavaScript](https://nos-workspace.com/learn/star-rating-html): Build a star rating from radio buttons: CSS-only hover, half stars, a read-only 4.3 display with partial fill, and an average screen readers can read. Live code.
- [The CSS box model: content, padding, border and margin](https://nos-workspace.com/learn/css-box-model): The CSS box model with live demos: how width adds padding and border, why vertical margins collapse, and how to read box sizes in DevTools and JavaScript.
- [CSS flex-grow, flex-shrink and flex-basis, worked out](https://nos-workspace.com/learn/css-flex-grow): How flex-grow shares free space, how flex-shrink removes overflow, and what flex: 1, flex: auto and flex: none really mean. Live calculator, layouts and fixes.
- [CSS overflow: what happens to content that does not fit](https://nos-workspace.com/learn/css-overflow): What each CSS overflow value does, why overflow-x: hidden turns y into auto, hidden vs clip for sticky, and how to find what scrolls a phone page sideways.
- [The HTML select tag: options, groups and reading the value](https://nos-workspace.com/learn/html-select-tag): How the HTML select tag works: option value vs text, optgroup, a placeholder that cannot be submitted, multiple select, reading values in JavaScript, and styling.
- [Get the user's location in HTML with the Geolocation API](https://nos-workspace.com/learn/geolocation-api): Get the user's location with navigator.geolocation: the permission prompt, HTTPS, options, error codes 1-3, iframe permission, and haversine distance.
- [IntersectionObserver in JavaScript, with live examples](https://nos-workspace.com/learn/intersectionobserver): How IntersectionObserver works in JavaScript: threshold, rootMargin and root, with live examples for scroll reveal, infinite scroll and seen tracking, plus fixes.
- [Parallax scrolling in HTML: four ways to build it](https://nos-workspace.com/learn/parallax-html): Parallax scrolling in HTML: background-attachment: fixed, CSS perspective, a JavaScript layer effect and scroll-driven animations. Live examples and phone fixes.
- [Glassmorphism in CSS: build a frosted glass card](https://nos-workspace.com/learn/glassmorphism-css): Make a frosted glass card with CSS: a see-through background, backdrop-filter blur, light border and shadow. Live generator, readable text, fallbacks and dark mode.
- [CSS perspective: make 3D transforms actually look 3D](https://nos-workspace.com/learn/css-perspective): How CSS perspective adds real depth to rotateX, rotateY and translateZ. Parent property vs perspective(), preserve-3d, backface-visibility, a cube and a tilt card.
- [CSS animation keyframes, property by property](https://nos-workspace.com/learn/css-keyframes): How @keyframes and the animation properties work: from, to and percentages, duration, delay, fill-mode, steps() and the shorthand order, with live examples to copy.
- [Reorder flex and grid items with the CSS order property](https://nos-workspace.com/learn/css-flex-order): How the CSS order property reorders flex and grid items: default 0, negative values, ties, moving a sidebar on phones, and why Tab still follows the HTML.
- [CSS gap: space between items without margins](https://nos-workspace.com/learn/css-gap): How the CSS gap property spaces items in flexbox, grid and multi-column layouts, why it beats margins, and what to check when gap does nothing.
- [The HTML video tag: attributes, captions and background video](https://nos-workspace.com/learn/html-video-tag): How the HTML video tag works: controls, poster, source formats, muted autoplay, a CSS-style background video, WebVTT captions and a custom player to copy.
- [The section tag in HTML: section vs article vs div](https://nos-workspace.com/learn/html-section-tag): When to use the HTML section tag, and when article or a div fits better. How a section becomes a region landmark, heading levels, and a blog page example.
- [Text decoration in CSS: every line, style and offset](https://nos-workspace.com/learn/css-text-decoration): Style underlines and strikethroughs with text-decoration: style, colour, thickness and offset. A live builder, the child-underline trap and link styles to copy.
- [Right-to-left pages with dir="rtl", and logical CSS](https://nos-workspace.com/learn/html-dir-rtl): Set dir="rtl" for Arabic and Hebrew, isolate user names with , and write CSS that flips on its own. Live examples, code to copy, and fixes for jumbled text.
- [Print CSS: style a page for paper with @media print](https://nos-workspace.com/learn/css-print-media): Style a web page for printing with @media print: hide menus, print link addresses, keep background colours, set @page margins and add a Print button. Live examples.
- [Text to speech in JavaScript with speechSynthesis](https://nos-workspace.com/learn/text-to-speech-javascript): Make a web page read text aloud with the Web Speech API: speak, pause and stop, pick a voice, fix an empty getVoices() list, and highlight words as they are read.
- [The SVG tag in HTML, from viewBox to paths](https://nos-workspace.com/learn/html-svg-tag): How the svg tag in HTML works: the viewBox coordinate system, rect, circle, line, polygon and path, fill and stroke, groups, text, CSS styling and accessibility.
- [Build a drag and drop sortable list in HTML](https://nos-workspace.com/learn/sortable-list-html): Build a drag-to-reorder list in plain HTML and JavaScript: the Drag and Drop API, a pointer version that works with touch, keyboard moves and reading the new order.
- [CSS min-height: a floor that lets content grow](https://nos-workspace.com/learn/css-min-height): How CSS min-height differs from height, why 100vh is too tall on phones and what dvh fixes, why flex children need min-height: 0 to scroll, and when % is ignored.
- [CSS columns: flow text and cards into columns](https://nos-workspace.com/learn/css-multi-column): Flow text into newspaper columns with CSS columns. Live examples for column-count, column-width, column-span and break-inside, plus a masonry-style card wall.
- [id vs class in CSS and HTML: which one to use](https://nos-workspace.com/learn/id-vs-class): An id names one element, a class labels many. See why #id beats three classes, what a duplicate id breaks, and how to name and select each in CSS and JavaScript.
- [requestAnimationFrame in JavaScript: build a smooth animation loop](https://nos-workspace.com/learn/requestanimationframe): How requestAnimationFrame works: the timestamp, speed that does not depend on frame rate, cancelAnimationFrame, and one update per frame. Live examples and fixes.
- [Format a date in JavaScript](https://nos-workspace.com/learn/javascript-date-format): Format dates in JavaScript for people and for machines: toLocaleDateString options, Intl.DateTimeFormat, "3 days ago", yyyy-mm-dd, and the off-by-one-day bug.
- [Build an HTML lightbox with the dialog element](https://nos-workspace.com/learn/html-lightbox): Build an image lightbox in plain HTML and JavaScript with the dialog element: captions, next and previous, arrow keys, swipe, and focus back on the thumbnail.
- [CSS grid-template-areas: draw the layout as text](https://nos-workspace.com/learn/css-grid-template-areas): Draw a CSS layout as text with grid-template-areas. Try a live area editor, switch layouts with container queries, and fix areas that silently do nothing.
- [Build a card layout with HTML and CSS](https://nos-workspace.com/learn/html-card-layout): Build a card layout in HTML and CSS: the markup, buttons pinned to the bottom, a responsive grid, a whole-card link that keeps inner buttons working. Live examples.
- [CSS mix-blend-mode and background-blend-mode, with live examples](https://nos-workspace.com/learn/css-mix-blend-mode): Try every CSS blend mode on a live example, make text that inverts over any background, tint images with background-blend-mode, and fix blending that does nothing.
- [CSS mask-image: fade edges, shape images and recolour icons](https://nos-workspace.com/learn/css-mask-image): Use CSS mask-image with a gradient to fade text and scroller edges, or with an SVG to recolour icons. Live examples, code to copy, and fixes.
- [CSS counters: automatic numbers for anything on the page](https://nos-workspace.com/learn/css-counters): CSS counters beyond lists: counter-reset, counter-increment, counter-set, 01 and Roman styles, 1.1 headings, "Figure 3" captions and a no-JavaScript checkbox tally.
- [CSS accent-color: one line to recolour native form controls](https://nos-workspace.com/learn/css-accent-color): One CSS property tints native checkboxes, radio buttons, range sliders and progress bars. Live examples, which controls it reaches, dark mode and what it can't do.
- [Play a sound with JavaScript](https://nos-workspace.com/learn/play-sound-javascript): Play a sound effect from JavaScript with new Audio().play(), handle the autoplay error, overlap sounds, and make beeps with the Web Audio API. Live examples.
- [CSS writing-mode: vertical text, upright letters and sideways headers](https://nos-workspace.com/learn/css-writing-mode): Set vertical text with writing-mode: vertical-rl, keep letters upright with text-orientation, fit numbers with text-combine-upright, and build sideways headers.
- [Wrap text around any shape with CSS shape-outside](https://nos-workspace.com/learn/css-shape-outside): Wrap text around a circle, a polygon or an image's transparent parts with CSS shape-outside. Live examples, shape-margin, clip-path and fixes when it fails.
- [Watch DOM changes with MutationObserver](https://nos-workspace.com/learn/mutationobserver): Detect DOM changes in JavaScript with MutationObserver: options, records, batching and the infinite-loop trap. Live examples to try, code to copy, and fixes.
- [ResizeObserver: react when an element changes size](https://nos-workspace.com/learn/resizeobserver): Detect when an element changes size, not just the window. ResizeObserver entries, the box option, sharp canvas charts, and the fix for the loop error.
- [Typewriter effect with CSS (and when you need JavaScript)](https://nos-workspace.com/learn/typewriter-effect-css): Typewriter text in pure CSS with steps() and ch, why normal fonts break it, and a JavaScript version that types, deletes and loops. Live examples and code.
- [CSS container queries: components that fit the space they get](https://nos-workspace.com/learn/css-container-queries): Make a card change layout based on the box it sits in, not the window. container-type, @container, named containers and cqi units, with live examples and fixes.
- [Use the camera in an HTML page](https://nos-workspace.com/learn/html-camera-getusermedia): Open the camera from a web page: a file input with capture, or getUserMedia into a video. Take a photo on a canvas, pick the back camera, and fix the errors.
- [CSS flex-direction: row, column and the two reverses](https://nos-workspace.com/learn/css-flex-direction): flex-direction sets which way flex items flow, and justify-content and align-items turn with it. Live examples of row, column, the reverse values and a phone layout.
- [Place CSS grid items by line number: row start, span and -1](https://nos-workspace.com/learn/css-grid-placement): Place grid items with grid-row-start, grid-column and span. A live lab shows line numbers, -1, implicit tracks, overlap with z-index and grid-auto-flow: dense.
- [CSS anchor positioning: place one element next to another](https://nos-workspace.com/learn/css-anchor-positioning): Attach a tooltip or menu to a button with anchor-name, position-anchor and position-area, flip it when space runs out, and add a small JavaScript fallback.
- [CSS outline and focus rings that people can actually see](https://nos-workspace.com/learn/css-outline): How CSS outline works: width, style, colour and outline-offset, rounded outlines, :focus vs :focus-visible, a focus ring that survives forced colours, and fixes.
- [Async and await in JavaScript, with live examples](https://nos-workspace.com/learn/javascript-async-await): How async and await work in JavaScript: what a Promise is, try/catch, Promise.all vs allSettled vs race, await in loops, timeouts and cancelling. Live demos to try.
- [CSS logical properties: the full map from left and width to inline and block](https://nos-workspace.com/learn/css-logical-properties): CSS logical properties name sides by text flow, so one stylesheet works in ltr, rtl and vertical text. The full physical-to-logical map, live demos and fixes.
- [CSS image-rendering: sharp pixel art instead of a blur](https://nos-workspace.com/learn/css-image-rendering): Scale pixel art and QR codes without blur using image-rendering: pixelated. Compare auto, pixelated and crisp-edges live and turn off canvas smoothing.
- [Build a footer with HTML and CSS](https://nos-workspace.com/learn/html-footer): Build a footer with HTML and CSS: when footer is the page landmark, what goes inside, columns that stack on phones, a footer that stays at the bottom, dark contrast.
- [Touch events in JavaScript: taps, swipes and pinches](https://nos-workspace.com/learn/touch-events-javascript): How touchstart, touchmove and touchend work, why pointer events are the simpler choice, and how to detect a swipe and a pinch. Live examples to try on a phone.
- [Random numbers in JavaScript, from Math.random() to a fair shuffle](https://nos-workspace.com/learn/javascript-random-number): Get a random integer between min and max in JavaScript, shuffle an array fairly, and know when Math.random is not enough. Live examples and code to copy.
- [Make a particle effect in HTML with canvas and JavaScript](https://nos-workspace.com/learn/canvas-particles): Build a particle effect in plain HTML and JavaScript: a fountain, a network background that reacts to the pointer, and a confetti burst. Live code to try and copy.
- [Font feature settings in CSS: numbers, ligatures and small caps](https://nos-workspace.com/learn/css-font-feature-settings): Turn on tabular numbers, ligatures, small caps, slashed zeros and fractions in CSS. Live demos that test your installed fonts, the code, and why nothing changes.
- [CSS background-clip: boxes, origin and gradient text](https://nos-workspace.com/learn/css-background-clip): How background-clip and background-origin decide where a background is painted and where it starts. Live demos for gradient text, textured text and gradient borders.
- [Tel links in HTML: call, text and email buttons](https://nos-workspace.com/learn/html-tel-link): Build click-to-call, text and email links in HTML: the tel: format, sms: and mailto: with encoded text, button styling, accessible link text and sandbox limits.
- [CSS will-change: prepare an animation without breaking the page](https://nos-workspace.com/learn/css-will-change): will-change tells the browser a property is about to animate. Add it just before, remove it after, and watch for the z-index and position: fixed side effects.
- [CSS color-mix(): lighten, darken and build a palette in plain CSS](https://nos-workspace.com/learn/css-color-mix): Mix two colours in CSS with color-mix(), lighten or darken with relative colour syntax, and build a whole palette plus hover states from one brand variable.
- [The CSS :has() selector: style an element by what is inside it](https://nos-workspace.com/learn/css-has-selector): Style a parent by what it contains with CSS :has(). Cards, form states, a scroll lock, quantity queries and a theme switch, plus specificity and fallback rules.
- [The h2 tag and h3 to h6: heading levels that make an outline](https://nos-workspace.com/learn/html-heading-tags): How to use the h2 tag and h3 to h6 under it: picking a level from its place in the page, subtitles with hgroup, and a live outline viewer that checks your headings.
- [The HTML base tag: href, target and what it breaks](https://nos-workspace.com/learn/html-base-tag): What the HTML base tag does to every relative link, image and #anchor on a page. Live examples for href and target, the trailing slash rule, and fixes.
- [The HTML kbd tag: show keyboard keys, program output and variables](https://nos-workspace.com/learn/html-kbd-tag): How the HTML kbd tag marks keys and typed input, when to use samp and var instead, how to nest them for shortcuts, and CSS for key caps you can press.
- [CSS background-size: how big the background image is drawn](https://nos-workspace.com/learn/css-background-size): How background-size works: cover, contain, auto, one and two values, percentages and background-origin, plus repeat round and why fixed backgrounds fail on phones.
- [Responsive images with srcset: which file the browser picks](https://nos-workspace.com/learn/html-srcset): How srcset w and x descriptors, sizes and the picture element decide which image file loads. Live demos show the chosen file through currentSrc.
- [The del tag, ins and s: crossed-out text that means something](https://nos-workspace.com/learn/html-del-ins-tag): When to use del, ins or s for crossed-out text, what datetime and cite do, how to mark a sale price, and a live diff that writes del and ins for you.
- [The HTML noscript tag: when it shows and what to put in it](https://nos-workspace.com/learn/html-noscript-tag): The HTML noscript tag shows its content only when JavaScript is turned off, not when a script fails. Live examples, head vs body rules and mistakes to avoid.
- [white-space: nowrap and the other ways CSS handles spaces and line breaks](https://nos-workspace.com/learn/css-white-space): white-space: nowrap keeps text on one line. See nowrap, pre, pre-wrap, pre-line and break-spaces side by side, plus text-wrap balance and pretty.
- [Sticky footer in CSS: keep the footer at the bottom](https://nos-workspace.com/learn/css-sticky-footer): Keep the footer at the bottom of short pages with flexbox or grid and min-height: 100dvh. Live examples, plus why position fixed and sticky differ.
- [Build a sidebar with HTML and CSS](https://nos-workspace.com/learn/html-sidebar): Build a sidebar in HTML with aside and CSS grid, make it sticky, turn it into a drawer on phones and collapse it to icons. Live examples and code to copy.
- [Build a stopwatch in HTML and JavaScript](https://nos-workspace.com/learn/html-stopwatch): Build a stopwatch in HTML and JavaScript with performance.now(), pause and resume, lap times and digits that do not jitter. Live examples to try and code to copy.
- [Build a flip card in HTML and CSS](https://nos-workspace.com/learn/css-flip-card): Build a flip card in HTML and CSS with perspective, preserve-3d and backface-visibility. Hover or click to flip, keyboard support, and cards that fit their text.
- [CSS scroll snap: make scrolling stop on whole items](https://nos-workspace.com/learn/css-scroll-snap): CSS scroll snap in plain words: scroll-snap-type, scroll-snap-align, scroll-snap-stop and scroll-padding. Live examples to try, and fixes when nothing snaps.
- [CSS transition, one property at a time](https://nos-workspace.com/learn/css-transition): How CSS transition works: property, duration, delay, ease, cubic-bezier and steps, allow-discrete for display: none, and the transitionend event.
- [CSS transform-origin: choose the point things turn around](https://nos-workspace.com/learn/css-transform-origin): How CSS transform-origin picks the point an element rotates and scales around: keywords, percentages, px, the 3D z value and transform-box for SVG. Live demos.
- [Read and write query strings with URLSearchParams](https://nos-workspace.com/learn/urlsearchparams): Read ?q=... from the address, build a query string from a form, and update the address bar without a reload. get, getAll, set, append and encoding, live.
- [SVG stroke-dasharray and stroke-dashoffset, with live examples](https://nos-workspace.com/learn/svg-stroke-dasharray): How stroke-dasharray and stroke-dashoffset cut an SVG stroke into dashes, draw a line on screen and fill a progress ring. Live examples, code and fixes.
- [CSS offset-path: move an element along a curve](https://nos-workspace.com/learn/css-offset-path): Make a dot follow a curve with CSS offset-path and offset-distance: path(), ray(), circle(), offset-rotate and offset-anchor, with live examples to copy.
- [CSS fill and stroke on SVG, including holes and outlines](https://nos-workspace.com/learn/svg-fill): Style SVG shapes from CSS with fill and stroke, cut holes with fill-rule evenodd, fade them without a dark band, and outline text with paint-order. Live examples.
- [Animate page changes with CSS view transitions](https://nos-workspace.com/learn/css-view-transitions): Wrap a DOM change in document.startViewTransition() and style it with view-transition-name and ::view-transition-old/new. Live examples, fallback and reduced motion.
- [CSS scroll timelines: animations driven by scrolling](https://nos-workspace.com/learn/css-scroll-driven-animations): Run a CSS animation on scroll instead of time: animation-timeline with scroll() and view(), named timelines, timeline-scope and animation-range, plus a fallback.
- [CSS touch-action: decide who gets the finger](https://nos-workspace.com/learn/css-touch-action): What each touch-action value lets the browser do, why a finger drag scrolls the page, and how overscroll-behavior stops scroll chaining and pull-to-refresh.
- [CSS caret-color: colour and shape the text cursor](https://nos-workspace.com/learn/css-caret-color): Change the blinking text cursor colour with caret-color, try the block and underscore shapes of caret-shape, and build a terminal-style caret. Live examples.
- [CSS appearance: none, control by control](https://nos-workspace.com/learn/css-appearance): What appearance: none removes on each form control, why checkboxes vanish, and the states you must redraw. Live examples to toggle, test and copy.
- [CSS color-scheme: what it changes and how to use it](https://nos-workspace.com/learn/css-color-scheme): The CSS color-scheme property tells the browser which schemes a page supports, so inputs, scrollbars and default colours go dark. Live examples and light-dark().
- [list-style-type: change the bullets and numbers of an HTML list](https://nos-workspace.com/learn/css-list-style): Change list bullets and numbers with list-style-type: every value, custom strings and emoji, list-style-image, inside or outside, ::marker and @counter-style.
- [CSS min-width: 0 and why flex and grid items overflow](https://nos-workspace.com/learn/css-min-width): Why a flex or grid item refuses to shrink and pushes things off screen, and how min-width: 0, minmax(0, 1fr) and clamp() fix it. Live demos you can edit.
- [CSS grid-auto-flow: how the browser places the items you did not place](https://nos-workspace.com/learn/css-grid-auto-flow): How CSS grid-auto-flow places items: row, column and dense, how grid-auto-rows and grid-auto-columns size the tracks the browser adds, and a masonry-style gallery.
- [CSS flex-shrink: 0 and why flex items squash](https://nos-workspace.com/learn/css-flex-shrink): Why icons, avatars and buttons get squashed in a flex row, how flex-shrink: 0 stops it, and how the browser decides who shrinks most. Live demos and fixes.
- [CSS justify-self and justify-items, and why flexbox ignores them](https://nos-workspace.com/learn/css-justify-items): justify-self moves one grid item left, center or right inside its cell. Try it live with justify-items and place-self, and see why flexbox ignores it.
- [CSS hyphens: auto, and why it needs a lang attribute](https://nos-workspace.com/learn/css-hyphens): hyphens: auto splits long words at syllables, but only when the page sets a language. Try none, manual and auto live, plus , hyphenate-character and justify.
- [Text indent in CSS: first lines, hanging indents and drop caps](https://nos-workspace.com/learn/css-text-indent): Indent the first line of a paragraph with CSS text-indent, make a hanging indent for reference lists, and add a drop cap with ::first-letter. Live demos and code.
- [FileReader in JavaScript: read a file the user picked](https://nos-workspace.com/learn/javascript-filereader): Read a picked file in the browser with FileReader: readAsText, readAsDataURL and readAsArrayBuffer, onload and onerror, file.text(), image previews and CSV tables.
- [Format numbers with Intl.NumberFormat](https://nos-workspace.com/learn/intl-numberformat): Format numbers in JavaScript with Intl.NumberFormat: currency, percent, units, 1.2K compact notation, decimal places, formatToParts, and a live price formatter.
- [Web Workers in JavaScript: run heavy work without freezing the page](https://nos-workspace.com/learn/web-worker-javascript): Run heavy JavaScript in a Web Worker so the page never freezes. One-file setup with a Blob URL, postMessage, progress, cancel with terminate, and transferables.
- [crypto.randomUUID() and getRandomValues(): IDs and passwords nobody can guess](https://nos-workspace.com/learn/crypto-randomuuid): Make a UUID with crypto.randomUUID(), build short IDs and passwords with crypto.getRandomValues(), and fix the "not a function" error on http pages. Live examples.
- [location.hash in JavaScript: read it, set it, react to it](https://nos-workspace.com/learn/javascript-location-hash): Read and set location.hash in JavaScript, react with the hashchange event, and build hash tabs for a one-file page. Live examples, encoding rules and history.
- [Record a canvas to video with MediaRecorder in JavaScript](https://nos-workspace.com/learn/mediarecorder-javascript): Record a canvas animation to a video file with MediaRecorder and captureStream, no camera needed. Pick a mimeType, collect chunks, download the file, add sound.
- [TextEncoder and TextDecoder in JavaScript](https://nos-workspace.com/learn/textencoder-javascript): Use TextEncoder and TextDecoder to count real UTF-8 bytes, catch broken input with fatal, and Base64-encode Korean or emoji text. Live examples and code to copy.
- [AudioContext in JavaScript: build a synth with the Web Audio API](https://nos-workspace.com/learn/web-audio-api): Make sound with an AudioContext: oscillators, gain envelopes that stop clicks, resume() for autoplay, a playable keyboard synth and an AnalyserNode visualiser.
- [Build a custom HTML context menu (right-click menu)](https://nos-workspace.com/learn/html-context-menu): Build a custom right-click menu with the contextmenu event. Keep it on screen, close it on Escape or a click outside, and open it by keyboard and long press.
- [Build a line chart in HTML with plain SVG](https://nos-workspace.com/learn/html-line-chart): Draw a line chart in HTML from an array of numbers with plain SVG and a short script: scales, axes, gridlines, hover tooltip, responsive viewBox, several series.
- [Build a flowchart in HTML, CSS and SVG](https://nos-workspace.com/learn/html-flowchart): Build a flowchart in HTML with no library: CSS grid or flex places the boxes, SVG paths draw the arrows from measured positions, and a ResizeObserver redraws them.
- [WebGL in HTML, from a blank canvas to a textured shape](https://nos-workspace.com/learn/webgl-html): WebGL in a plain HTML page: get a context, write a vertex and a fragment shader, fill a buffer, animate with uniforms and add a texture. Live examples and fixes.
- [HTML validator: what it checks, and why your page looked fine anyway](https://nos-workspace.com/learn/html-validator): What the W3C Nu HTML validator checks, the errors it finds most often, and how browsers quietly repair them. Live demos show the repaired tree and a small checker.
- [The HTML math tag: write formulas with MathML](https://nos-workspace.com/learn/html-math-tag): Write formulas in HTML with the