Learn Form Validation by Building a Calorie Counter - Step 46

Tell us what’s happening:

why is my “HTMLString” variable not working? The prompt says “Your addEntry function shuld have an HTMLString”

Your code so far

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

/* 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 = `${}`;
}

// 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/134.0.0.0 Safari/537.36

Challenge Information:

Learn Form Validation by Building a Calorie Counter - Step 46

and assign it an empty template literal string

Your template literal string is not empty.

Thanks! I confused the placeholder for the literal string