Learn Form Validation by Building a Calorie Counter - Step 44

Tell us what’s happening:

Entry ${entryNumber} Name:

i really don’t understand what’s missing here someone please answer i wanna continue codding

Your code so far

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

/* file: styles.css */

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

  const HTMLString = `
   <label for="entry${entryNumber}">Entry ${entryNumber} Name:</label>

// User Editable Region

Your browser information:

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

Challenge Information:

Learn Form Validation by Building a Calorie Counter - Step 44

you understood it wrong, it’s like this:

Mod Edit SOLUTION REMOVED

there is no need for the “for” attribute

The instructions for this step is:
Inside your template literal, create a label element and give it the text Entry # Name. Using your template literal syntax ${}, replace # with the value of entryNumber.

You doesn’t need to add for attribute within label for that step. Reset your challenge and try again.
@jayma

1 Like