Learn localStorage by building a Todo App Step 47

I already passed the step, but would someone be willing to explain why formatting it like this doesn’t work? It would only accept the answer if all the code was all in one running line. Doesn’t seem like it should have to be that way but I’m still learning. Is it a Javascript thing or purely a FreeCodeCamp thing?

This is just a thing with editor used here that does not accept it like that,

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.