Code snippets in courses looking weird

Hello, I’ve found out recently that the code snippets in the courses are being pushed being just one-line-lookin which makes it quite difficult to read.
like this:


Anyone else experiencing the same issue?

Thanks

Hi @eldave !

I agree that it is not the easiest to read.
I don’t remember it always being like that so maybe it is part of the new curriculum design.

Even in the lesson you are referring to, you would not place all of that on one line.

It would be easier to read like this

function countup(n) {
  if (n < 1) {
    return [];
  } else {
    const countArray = countup(n - 1);
    countArray.push(n);
    return countArray;
  }
}
console.log(countup(5));

The issue is currently being worked on.

Here is the original post where the issue was brought up.

1 Like

Thanks again @jwilkins.oboe ! Hope they’ll fix it soon