Tell us what’s happening:
Step 47
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.
const HTMLString =<label>Entry ${entryNumber} Name</label>
;
##Errror: You should have a label element inside your template literal.
I don’t know how to fix this error. Please help me
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 47