Update hw2.html

add slider, input box and button