Learn Form Validation by Building a Calorie Counter - Step 44

Tell us what’s happening:

### Your code so far


The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

function addEntry() {
  const targetInputContainer = document.querySelector(`#${entryDropdown.value} .input-container`);
  const entryNumber = targetInputContainer.querySelectorAll('input[type="text"]').length;
  const HTMLString = `\n<label>Entry ${entryNumber} Name</label>;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge Information:

Learn Form Validation by Building a Calorie Counter - Step 44

I am super confused by this step. I thought I was doing this right.

I was able to figure it out and solved it.

how about some enlightenment for those of us who have not?

It was simple yet difficult to comprehend. TG finally got it.

figured it out (quite by accident). that step really needs to be reworded or something.

[quote=“jonathon_carten312, post:1, topic:658056”]

const HTMLString = `\n<label for="entry${entryNumber}>Entry ${entryNumber} Name</label>`;

my code is like this... please help  me....