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