Tell us what’s happening:
Why is my code not passing?!? I have a label element inside my template literal and, inside the label element, I have the text Entry ${entryNumber} Name
Your code so far
<!-- file: index.html -->
/* file: script.js */
// User Editable Region
const targetInputContainer = document.querySelector(`#${entryDropdown.value} .input-container`);
const entryNumber = targetInputContainer.querySelectorAll('input[type="text"]').length;
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/132.0.0.0 Safari/537.36
Challenge Information:
Build a Calorie Counter - Step 47