My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback
381–390 of 493 posts
Re: My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback
#382Re: My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback
#383Re: My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback
#384I'm sure you've gotten a lot of good feedback, but a personal message for your kid: I am well into my adulthood, but I started programming from a similar place way back when. I was probably 12-13 when I was self-studying HTML/CSS/JavaScript. Today the web tech stack is way more complicated than it was when I was a kid, but its also way more capable. You can do so much with it now that was a dream - I was into pokemon…
Re: My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback
#385Congrats kid! It's a fun app incorporating strategic and visual play. The code is well structured and clean. `onclick` handlers inline are a great way to get going with interactivity. One possible improvement could be to add event listeners dynamically after `load`. Another challenge might be to move stuff outside of the global namespace, especially variables. For a challenge and possible improvement, see if you can…
Re: My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback
#386I've been writing JavaScript since I was about your son's age and am now one of the editors of the JavaScript specification. His code is much much better than mine was at his age! I have one piece of feedback for him about the code itself, in case he's interested (of course the important part is the game, not the code, but I'm more qualified to give feedback on the JS): put `"use strict"` at the top of every .
Re: My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback
#387This is incredible. Nice work kiddo! A couple of things I think would make the game a bit smoother are: - Feedback on the charging status, so I could more easily tell when I can use a move - Move the math prompt out of a modal if you can, and into the window, or something where I can click the answer Keep it up!
He's also removing usage of prompt()/alert().
Appreciate the feedback
Re: My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback
#388Just a small comment, encourage your son (or do it yourself) to archive his site and code so he can revisit it years later. I did and it is amazing to learn again the code I did 25 years ago!
Re: My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback
#389I absolutely love this game. It is has so much personality. I love the monsters names. They’re so cool.
Appreciate your comment.
Re: My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback
#390This is amazing Armaan, and I can't wait to see how it continues to grow! I'm so glad your parents encouraged you to do this.