Javascript does not work in browser

I am taking the Reactjs class lesson 21, and one of the exercises asked me to run a simple loop. I have done all the exercises up to this point without a problem.

With this exercise, I received a warning:

Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform<

I added localhost:3000 to the javascript whitelist. I followed the directions to change “navigator.userAgent” to custom “navigator.appAgent”

I know that my loop is correct, and have tried in Chrome, Safari, Firefox, and Brave.
Nothing is working. I know that it’s a simple loop, and could just skip this step, but I’m concerned that it will be problematic for the rest of the course, and my code if I don’t fix it now. Any suggestions??

problem solved!! I missed {sum}

1 Like