Kids between 6 and 10 should receive an emotional response from what they do. The task of a parent is to notice that a kid likes something and then develop it.
If kids are bored and don’t want to write code or don’t like making sites, it’s necessary to switch their attention to something else. It can be anything, from designing something to writing texts. If they like swimming or running, let them do it. If they like making performances at school, they might become a marketing specialist or HR in the future.
So, at this age, it is important to notice what your kid likes and help him develop his skills.