Great job! Add random number generation to that, and you have enough to make a simple text game where you fight a dragon. :P
The basics of JavaScript aren't that hard. It does get a bit more annoying as the programs grow and do more complex things though. It's a lot easier than it used to be though, because there are a lot better libraries, so your code can be cleaner and smaller.
Now I want to make that text based game ....
another time. Got a different project to work on first. Stay tuned for the 1st of April!
Oh god no...
There's also Steem libraries for JavaScript. So you could write a bot or a simple game or something for Steem. :)
That'd be a fun future project :D