Learn Form Validation by Building a Calorie Counter - Step 11

Hello! I feel that this should be simple, but my code is not passing. Any suggestions? Thanks :slight_smile:

Please write your code directly into the forum so it it will be easier for us to help you

also, please provide the link to the challenge

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

At first glance, it looks like the type submit should be for the first button.

The directions also want you to add an id of clear to the second button and a type attribute

hope that helps

Yes! Thank you so much for your help :slight_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.