Why won’t my function capture the value of my input element?
I’m working on a freeCodeCamp Javascript project and I currently need to obtain the value given by the user on my input element. I’m practically certain I have my code correct, yet when testing it on freeCodeCamp or in a Code Pen I created the value keeps returning as undefined.
Blur fires after setting focus on newly added input element
Five years ago a question like what I will be asking today was asked but apparently no answers were posted that would solve the problem. Now I am having the same problem. Here is what I’ve done, so far.