Recent Posts

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.

JavaScript Loops: while, do...while and for Compared
Compare loop execution order and behavior when the initial condition is false. Learn how break and continue work and avoid infinite loops and index boundary errors.

jQuery .addBack(): Include the Previous Traversal Selection
Include the previous traversal collection and understand which elements the optional selector filters.

JavaScript Conditionals: if, else if, else and switch
Choose conditional branches with if and switch, understand strict matching and fall-through, and validate input before comparing numbers. Includes a complete browser example.

jQuery .add(): Combine Element Selections
Combine selections without changing the original collection, and distinguish selecting elements from inserting them into the document.
