SyntaxFix
Write A Post
Hire A Developer
Questions
Try putting it inside a form tag and closing the input tag:
<form> <input type = "text" class = "txtPost" placeholder = "Post a question?" required /> <button class = "btnPost btnBlue">Post</button> </form>