Learn Form Validation by Building a Calorie Counter - Step 46

Tell us what’s happening:

it keeps saying i should have a label element inside my template literal even though i met what is required…

Your code so far

<!-- file: index.html -->

/* file: script.js */
// User Editable Region

const HTMLString = `<label>Entry ${entryNumber} Name</label>`;


// User Editable Region
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36

Challenge Information:

Learn Form Validation by Building a Calorie Counter - Step 46

the template literal at the beginning of the step starts with a new line, why did you remove that?

1 Like