Learn Form Validation by Building a Calorie Counter - Step 44

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 . linked.

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

Your browser information:

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

Challenge Information:

Learn Form Validation by Building a Calorie Counter - Step 44

Hi @ben.eichten,

You have a \n character at the beginning of the string that shouldn’t be there. But it definitely passes after removing that!

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