Javascript for grade calculator

The code works. Just need to figure out how to take user input.