Recent Posts

HTML Tutorial / Create Expandable Content with details and summary
Create keyboard-operable expandable content with details and summary, and decide when to start it open or show content directly.

HTML Tutorial / Embed Audio, Video, and External Content
Use audio, video, iframe, captions, and alternative links appropriately. Responsive CSS and a local iframe exercise help you check paths, aspect ratios, and narrow-screen layout.

HTML Tutorial / Set the Page Title, Description, Language, and Encoding
Place html lang and the head's title and meta settings correctly. Compare their purposes and checks, then troubleshoot UTF-8 file encoding and server response headers.

JavaScript Thousands Separators: Add Commas and Parse Input
Format numbers with locale-aware thousands separators and validate grouped decimal input before converting it. Covers decimal options, string formatting and precision limits.

jQuery .find(): Select Matching Descendants
Search through descendant levels while excluding the container, and compare find with children, filter, and has.

JavaScript Rounding: Math.floor(), ceil(), round() and trunc()
Compare rounding methods for positive and negative values, round at different positions, and distinguish floating-point arithmetic from toFixed() display formatting.

jQuery .removeAttr(): Delete HTML Attributes
Compare deleting an attribute with setting an empty value, and handle input values, current properties, and ARIA attributes correctly.

jQuery .removeClass(): Remove Specific or All Classes
Remove selected class names or clear all classes, while distinguishing class removal from clearing inline styles.

JavaScript Notes: Number Formatting, URI Encoding and Selectors
Format numbers, choose the right URI encoding function, and build query parameters safely. Includes decoding error handling, CSS selector guidance and a runnable URL example.

jQuery .addClass(): Add One or More CSS Classes
Add one or more classes while preserving existing names, generate classes with a callback, and check why styling may not change.