Tell us what’s happening:
My code is working. I’ve concatenating and God only knows what else. Please help:
Here’s my code
const targetInputContainer = document.querySelector(targetId + " " + ’ .input-container’);
Your code so far
<!-- file: index.html -->
/* file: script.js */
// User Editable Region
function addEntry() {
const targetId = '#' + entryDropdown.value;
const targetInputContainer = document.querySelector(targetId + ' ' + ' .input-container');
}
// User Editable Region
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Challenge Information:
Learn Form Validation by Building a Calorie Counter - Step 41