Learn Form Validation by Building a Calorie Counter - Step 48

Tell us what’s happening:

I’m unable to submit and go ahead.
everything looks good to me

Your code so far

/* 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>\n
  <input type="text" placeholder="Name" id="${entryDropdown.value}-${entryNumber}-name" />`;
}

// User Editable Region

Challenge Information:

Learn Form Validation by Building a Calorie Counter - Step 48

Welcome to the forum @kaykay11

You cannot use escape characters with template literals.
Instead, press enter on the keyboard for a new line.

Happy coding

but they said to provide id as well.