I can't see any problems in your code right off, besides that you should probably have
<!DOCTYPE html> on line 1; would you mind copy/pasting and formatting your code into the forum, along with a link to the exercise you're on?
You can format code by selecting it all while in the post editor, and pressing
Ctrl/Cmd + K, or by adding a new line and three backticks (
`) before and after your code, like this:
``` <code> will show up properly here ```