Website Development Session 001
Recorded, edit pending
I started with one HTML page and one stylesheet in Visual Studio. After checking the page in Chrome, I wanted to see what changing the padding actually did, so I built a small playground with a slider, a preview outline, and a pixel readout.
The slider, the script, and the stylesheet each had a job. Once the script tag was connected, the slider could pass its number to JavaScript. Adding px gave the CSS variable a usable length. I used that same value for the readout, so the number changed as the outline moved.
Being able to see the value and its effect together made it easier to tell whether the code or the layout was causing a problem. That’s the kind of small experiment I use in The Process.