Tell us what’s happening:
i have written the text according to the requirements of the for attribute and it passsed this test in console but it says that the label element must have the same text as before , and indeed it has the same text still it won’t pass the test..
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
const HTMLString = `
<label for="${entryDropdown.value}-${entryNumber}-name">
Entry ${entryNumber} Name
</label>
`;
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Challenge Information:
Build a Calorie Counter - Step 48