Live data from Hacker News

Ask HN: How would you introduce kids to web dev?

news.ycombinator.com

1–10 of 41 posts

Ask HN: How would you introduce kids to web dev?

#1
Two kids (ages 12 and 15) have expressed interest in learning web dev.

I was going to set them up with a starter project on https://glitch.com containing an index.html that demos the various html elements. I'd let them fiddle around with that for a bit, and then they choose a topic they're interested in and we'd build a small site about it.

I'm not mentioning css until they ask "How do I make it look nice?" and probably not mentioning js at all for now.

Does that seem like a decent approach? How would or how have you done it?

Re: Ask HN: How would you introduce kids to web dev?

#5
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 or VS Code and ChatGPT!? Feels like it’s up in the air right now.

Re: Ask HN: How would you introduce kids to web dev?

#8

Don'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?

#9
I would start by sitting down with them and showing them.

Pretend your kids are the most important thing in your life and prioritize their growth because your time with them is precious and cannot be gotten back and it will be gone in a few fleeting days.

Maybe the web development sticks. Maybe it doesn’t. Neither is the important thing.

Anyway show them css because it is a way of taking them seriously. And because it means you’re putting in the work not phoning it in.

No excuses. No sending a link.

Good luck.

Re: Ask HN: How would you introduce kids to web dev?

#10
How I introduced them was by showing them how to edit the CNN homepage with the browser developer tools.

Being able to edit headlines to be funny (and perhaps somewhat offensive) and share screenshots with their friends really piqued their interest. They then taught their friends how to do it.

Then, they moved onto learning HTML and CSS, which they found kind of fun. After that, they started some basic JavaScript -- at which point they quickly lost interest in webdev.

But they still play with the browser dev tools.

Post reply on HN