This server caches data
How often does it refresh data?
.activedefined in your CSS. Perhaps you're confusing it with the active selector? A class named "active" is not the same as ":active". Also, your CSS has invalid comments in it -
console.log(myObj[Object.keys(myObj)].age) // 34 gets logged
Hello all. I'm currently working on "Map the Debris" under Advanced Algorithm Scripting.
Can anyone tell me how to correctly round the results? I think my code is correct (for finding the orbital period and returning it as a hash nested inside an array), however, rounding the orbital period is off. It seems freecodecamp is using different rounding techniques?
for example, for sputnik, the result is 86397.158, and they round it off to 86400 (I can write the code to round it off this way)
however, for iss, the result is 5557.034, and they round it off to 5557 (I can also write the code to round it off this way as well)
further, for hubble, the result is 5733.86, to which they round off to 5734.
I'm confused. How exactly should I round off the results here? The instructions says to round off to the nearest whole number. The nearest whole number for 86397.158 to me is 86397, but they rounded off to 86400.
Can anyone help?