Basic JavaScript: Access Array Data with Indexes

While opening the class, I am facing an issue:

EvalError: call to eval() blocked by CSP

Any help will be very appreciated.

Your code so far


// Example
var ourArray = [50,60,70];
var ourData = ourArray[0]; // equals 50

// Setup
var myArray = [50,60,70];

// Only change code below this line.

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0.

Challenge: Access Array Data with Indexes

Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/access-array-data-with-indexes

Are you using Firefox?

Yes. I do not get the issue on Chromium Web Browser. However I can not make a login through Chromium.
I am running Linux Ubuntu 19.04.
The issue seems to be related to Firefox. I runs ok on Chromium, but login in Chromium is not successful.

Thank you very much for the reply.

I appreciated your time.

Did you try clearing your cookies and doing a hard refresh as suggested in the banner?

Yes. I did. But the problem remains.

I do not get the problem on Chromium. However I can no make login.

This part of freeCodeCamp is offline.

We are upgrading the site, or running a scheduled maintenance. Please check back later or follow us on twitter for updates.

Did you know we have a YouTube channel with 1,000+ tutorials on Python, SQL, Machine Learning and Data Science?

Error details:

Bad gateway

The web server reported a bad gateway error.

  • Ray ID: 55303caeee92f62f
  • Your IP address: 189.9.1.130
  • Error reference number: 502
  • Cloudflare Location: São Paulo

The login functionality might have been interrupted by today’s maintenance. My suggestion is to use the site anonymously and just save any solutions you find to your computer until this part is back up and running (probably quite soon).

1 Like

All right. Thank you very much for your reply.