JavaScript Programming: Hot or Cold

added jS functions to make the game work and DOM manipulation for the
number input