CSS Overflow: What to Do When Content Does Not Fit
Learn what CSS overflow controls, how visible, hidden, clip, auto, and scroll differ, and when to fix a layout instead of hiding its contents.
Read article · 4 min↗Programming Basics
More to discover ↗
Learn what CSS overflow controls, how visible, hidden, clip, auto, and scroll differ, and when to fix a layout instead of hiding its contents.
Read article · 4 min↗
A practical introduction to keyboard-friendly web pages: choose native controls, keep a sensible focus order, make focus visible, and test common tasks without a mouse.
Read article · 4 min↗
HTTP status codes tell you how a server handled a request. Learn what the main code families mean, how common codes differ, and how to inspect a response when a web page or API call does not behave as expected.
Read article · 4 min↗
GET, POST, PUT, and DELETE describe different intentions when a client talks to a server. Learn what each method means, how retries affect your choice, and how to match common web tasks to the right method.
Read article · 4 min↗
Follow a web page from the address bar to the screen. Learn how the browser finds a server, requests files, builds the page and responds when you interact with it.
Read article · 4 min↗
HTML describes a page’s structure. The Document Object Model, or DOM, is the browser’s representation of that page while it is open. Learn how the two relate, what JavaScript can change, and how to inspect the result.
Read article · 4 min↗
CSS custom properties let you name a value once and reuse it across your styles. Learn how to define variables, apply them with var(), change them within a component, and use fallbacks when a value might be missing.
Read article · 4 min↗
CSS units do different jobs. Learn how to choose between px, rem, em, percentages, and viewport units for readable text, consistent spacing, flexible layouts, and elements sized to the screen.
Read article · 4 min↗
Learn how to use CSS media queries to make a layout adapt to different viewport widths. This beginner-friendly guide covers a mobile-first example, choosing breakpoints, and checking your work in a browser.
Read article · 4 min↗
Learn how to create a CSS Grid container, define columns and rows, and control the space between them. Follow a small layout example and learn what to check when the result looks different from what you expected.
Read article · 4 min↗
Learn how Flexbox lays out items in a row or column, how to control spacing and alignment, and when wrapping helps a layout adapt to available space. Includes a small CSS example and common fixes for unexpected results.
Read article · 4 min↗
Why do some elements start a new line while others sit inside a sentence? Learn how block, inline, and inline-block affect line breaks, sizing, spacing, and alignment, then try a small browser exercise to see the differences.
Read article · 4 min↗
Learn how the CSS box model determines an element’s size and spacing. Follow a simple width calculation, see what box-sizing changes, and use browser developer tools to investigate unexpected layouts.
Read article · 4 min↗
When several CSS rules appear to target the same element, the browser follows a predictable set of rules to choose a value. Learn how the cascade, specificity, and inheritance work together, then use a small example to debug a style that seems to be ignored.
Read article · 4 min↗
Learn how CSS selectors find elements by class, ID, and position in the HTML structure. Practice with a small page, then use browser developer tools to check why a rule does or does not apply.
Read article · 4 min↗
Three small additions to an HTML document can make a page easier to identify, help text display correctly, and give mobile layouts the viewport they expect. Learn what the title, character encoding declaration, and viewport setting do, where they belong, and how to check them.
Read article · 4 min↗
Learn how an HTML form connects visible labels to input controls, uses names to identify submitted values, and sends data when a visitor presses Submit. Includes a small practice exercise and common mistakes to check.
Read article · 4 min↗
Learn to add an image to an HTML page, write alt text that serves the image’s purpose, and set width and height so the page stays steady while it loads.
Read article · 4 min↗
Learn how HTML links find pages and sections, when to use each kind of link, and how to diagnose common path mistakes.
Read article · 4 min↗
A beginner-friendly guide to giving web pages a clear structure. Learn when to use headings, paragraphs, and lists, how to choose heading levels, and how to check whether a page is easy to scan.
Read article · 4 min↗
Semantic HTML gives each part of a page a meaningful role. Learn when to use header, nav, main, section, article, aside, and footer, and when a simple div is the better choice.
Read article · 4 min↗
Every HTML page has a basic structure. Learn what the doctype, head, and body do, how they fit together, and how to inspect a simple page in your browser.
Read article · 4 min↗