this is really hard the statement of the exercise is ultra confusing
please can someone help me?
i have to go in the code down below and exclude somethin?
do i have olny to do things in this line withou change other lines in the code?
please
Ohman…that was it…we have to go down the code and do a ctrl X and ctrl V in the new const we create… this statements are so confuse but i ger it now
it worked
Yeah… this lesson was confusing because all previous courses have taught us that we only need to be focusing on the lines they highlight for us to edit.
For anyone still confused, you have to scroll down to the function with the submit eventlistener and ctrl x + ctrl v the statements they ask for into the new declared const.
Use arrow syntax to create an addOrUpdateTask function. Then move the dataArrIndex variable, the taskObj object, and the if statement into the addOrUpdateTask function.
simply you need to find those three things in your existing code and move it to newly created function. @LiteralHat
Yes, I’m aware. I think the instructions are worded just fine. I’m mentioning this as more of an UI thing than an instructional one. FCC usually only highlights the lines of code that needs to be edited for each step, so I have a feeling that some users will be confused when they’re asked to touch code outside of the highlighted region.