Categories
Code Tutorial

Learning via Terrible Ideas: Replacing Text on Click, Part 2

In Part 1 of Learning via Terrible Ideas, we learned how to: Open the Console Set a variable Add a Click Listener But adding a click listener doesn’t make it accessible to people who use a keyboard or different kind of assistive technology. To make our example accessible, we’ll need to: Give a “focus indicator” […]

Categories
Code Tutorial

Learning via Terrible Ideas: Replacing Text on Click, Part 1

JavaScript is pretty fun. You don’t need to know much to start playing around with it. Let’s jump in with a Terrible Idea that You Should Never Do.™️ Note: This article is intended for beginners (and kids!), but has plenty of extra tidbits along the way. I’ll be intentionally glossing over most topics, but give […]