W3 schools > freecodecamp

am i the only one that finds w3schools alot better at teaching javascript than freecodecamp? i find myself always going back to w3 for better explanations? does anyone else go back and forth between them or should i just stick to one?

function nextInLine(arr, item) {
// Only change code below this line

return item;
// Only change code above this line
}

// Setup
const testArr = [1, 2, 3, 4, 5];

// Display code
console.log("Before: " + JSON.stringify(testArr));
console.log(nextInLine(testArr, 6));
console.log("After: " + JSON.stringify(testArr));
  **Your browser information:**

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

Challenge: Stand in Line

Link to the challenge:

it’s totally up to you, what you want to use but according to me , you should use that give you more information and clear way or can say , go for that one you understand well.
so it’s totally up to you .

and why do you share code ? , if you have question about that code then be more specific

1 Like

do you have questions about the code you posted? what issue are you having with this challenge?

anyway, freecodecamp always encourage the learners to use the Read-Search-Ask method!

1 Like

the two things are quite different and not in a position to be comparable imo, plus, as a programmer you should learn from different source. One source will always lack of something, where another source can cover. I doubt in W3S there are enough challenges for you to challenge your acquired programming skills.

1 Like

I always loved W3 Schools’ interactive widgets, even when they were famously bad for having incorrect/outdated information. Over the last few years they’ve gotten a lot better in terms of the quality of their content and it’s become a useful reference. When you’re trying to understand something new, it can often be extremely useful to find a place where it is explained or approached in another way. Definitely keep doing that! I’m not a big fan of W3 Schools’ content personally, but use whatever works for you!

1 Like

I always considered FCC as more of a road map, I take extra courses for each subject, but imo the FCC JavaScript module isn’t half bad. MDN actually has really good learning resources aside from being a solid reference. W3 schools I usually go to if I need a quick recap.

2 Likes

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