I taught a course called Creative Coding to students at Merz Akademie in Stuttgart, Germany. I made this website for the course which is in the style of programming tutorial blogs.
The course started with a dense introduction to the absolute basics of the web: HTML, CSS, and Javascript.
In the course I encouraged students to think of ways to use the web as a tool to further their interests, rather than treat web development as its own end.
I made some interactive lessons where students can edit code live on the page and see the results on the fly.
We also looked at some instances of "rule-based" art for inspo :)
In one assignment, students had to recreate the picture here with HTML and CSS only.