#hello Everyone i am facing a challenge with this issue
Step 44
Start your HTMLString
with a new line, then create a label
element. Give that element the text Entry # Name
, using your template literal syntax to replace #
with the value of entryNumber
.
To Solve that i am making this function …
function addEntry() {
const targetInputContainer = document.querySelector(#${entryDropdown.value} .input-container
);
const entryNumber = targetInputContainer.querySelectorAll(‘input[type=“text”]’).length;
const htmlString = <label>Entry ${entryNumber} Name</label>
;
}
where is my fault ?