Don't start with web development if your kid is just interested in learning more about how computers work or writing some code. As others have said there are a lot of beginner friendly tools that teach fundamentals better.
Different story if your kid explicitly wants to make something on a website