Added required attribute to input element
Added secret number and form submission code

For now secret number is just generated and form submision is
intercepted in a callback to evaluate guess value.