blog.iankulin.com

Cwd

Expired packages

I run into repeated breakage in the Zero to Mastery Complete Web Developer course, where deprecated packages like particles.js and a legacy REST API leave the material non-functional out of the box. After spending several hours on a workaround, a required react-scripts downgrade leaves the dev server failing with errors, and I weigh the remaining options, from watching the content without following along to cloning the instructor’s repo...

CWD - 185 - Problem solving

I give a line-by-line walkthrough of my JavaScript solution to the “clean the room” coding challenge, which groups equal values in an array into subarrays and returns them sorted. My explanation covers spread syntax for array copying, sort() comparison behavior, the difference between for…of and for…in loops, and building an object keyed by value, with occasional comparisons to Swift equivalents...

Step Ahead

A follow-up on a todo app I built alongside the Complete Web Developer course, in which I replaced right-click deletion and click-to-cross-out behavior with explicit check and delete buttons on each list item, motivated by discoverability and accessibility concerns. My implementation notes cover attaching handlers via onclick versus addEventListener, the fragility of indexing into childNodes, and innerText versus createTextNode for inserting content. I’ve included links to the source code and a live demo...