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?


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);
    return countArray;

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

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.