Learn Advanced Array Methods by Building a Statistics Calculator - Step 46

Tell us what’s happening:

I passed the step but I’m curious, why are they written like that:
$x^{1/n}$ and $variance^{1/2}$

image

Your code so far

Math.pow(base, exponent)

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36

Challenge Information:

Learn Advanced Array Methods by Building a Statistics Calculator - Step 46

That’s MathJax not working! It’s going to be fixed with next deployment, thank you for reporting

image
i already passed step 46 but now it’s not marked and I can’t see the the instruction and “check your code button”

is it because it’s being updated?

clear local storage and cache for freeCodeCamp and reload the page, you will need to log in again but you should have the instructions back

I passed but used a simplified version… Math.pow(variance, 1/2);
no idea why the extra mumbo jumbos :sweat_smile:

1 Like

It’s instruction like this that piss me off the most. I understand you don’t spoon feed people the answers but you have to at least give them information that is undoubtedly related to the lesson. The regex examples serve no damn purpose. lol.

Those aren’t regexes.
There is a known issue where the the examples are not rendering correctly.
That is what @ilenia was referring to MathJax not working correctly

It supposed to look like this

2 Likes

Let’s hope it get’s fixed or at the very least put a disclaimer about it in italics.

1 Like

It looks like a fix was just merged in here

That should work.

When the site is deployed next, then it should show correctly in the directions.

If for some reason the issue persists, then the directions can be rewritten to use <sup> HTML elements instead :+1:

2 Likes