IDK… how about having them take a screenshot of their favorite website, then use GPT-4V to prompt and generate some boilerplate, then use VS Code Live Server extension to render the page. Illustrate how the HTML/CSS affect the web page. Could be a fun on-ramp to get them excited. Have to be careful giving them AI at the start, but who knows! It might be THE way to go. Do newbies start with notepad++ and a LAMP stack…
Ask HN: How would you introduce kids to web dev?
11–20 of 41 posts
Re: Ask HN: How would you introduce kids to web dev?
#12Having a demo page sounds good as a reference, but I wouldn't use it as a template. With HTML I think you can and should start absolutely from scratch. Among other things you want to give your kids the chance to see what happens when various pieces are missing.
Re: Ask HN: How would you introduce kids to web dev?
#13Re: Ask HN: How would you introduce kids to web dev?
#14Re: Ask HN: How would you introduce kids to web dev?
#15Re: Ask HN: How would you introduce kids to web dev?
#16Don't teach them 1997 web dev. Get them a React Udemy course or similar.
I'm not a computer science teacher, but I'd think that what React is even doing would be too confusing without understanding a basic bit of HTML and CSS first.
Re: Ask HN: How would you introduce kids to web dev?
#17Re: Ask HN: How would you introduce kids to web dev?
#18I would never inflict that on my kids
Re: Ask HN: How would you introduce kids to web dev?
#19Second, maybe spin them up a tumblr blog, and let them hack on a theme (changing colors, etc), same thing as an old-school myspace setup and it taught _a lot_ of people in the early 2010s how to code.
Codecademy is another good one to get some basics in a more educational way, but it might turn them off because of that.