style added input and h3 tag, button type changed to submit