Wrapping up JavaScript Syntax, Part I

I’ve just completed part one of the Full-stack Engineer course and decided to try writing a small script for a BMI calculator. I’m new to coding, and so I’m limited to what I’ve learned so far, which are variables, data types, conditionals, and functions.

Certainly not the most exciting project, but doing this little project taught me so much about how everything I’ve learned so far fits together. It’s the first thing I’ve done alone and it seems to be working :wink:

I’d love some feedback on my code if you have time? Specifically, on best practices. I really want to develop good habits from the start. Also, I’d be interested in suggestions for improving it and perhaps making it leaner.

You can see my code here: BMI_calc.js · GitHub