Learn Form Validation by Building a Calorie Counter - Step 49

Tell us what’s happening:

I always get the Error “you should not modify your label element”.

Your code so far

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

/* file: styles.css */

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

function addEntry() {
  const targetInputContainer = document.querySelector(`#${entryDropdown.value} .input-container`);
  const entryNumber = targetInputContainer.querySelectorAll('input[type="text"]').length;
  const HTMLString = `
  <label for="${entryDropdown.value}-${entryNumber}-name">Entry ${entryNumber}Name</label> 
  <input type="text" placeholder="Name", id="${entryDropdown.value}-${entryNumber}-name"></input>`;
}

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.2 Safari/605.1.15

Challenge Information:

Learn Form Validation by Building a Calorie Counter - Step 49

there is a space missing between the interpolation and Name