Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Amber Touch
Amber Touch
2,339 Points

Wow, this challenge is super hard.

I can understand the explanations, but I would literally never have been able to generate the correct code for this on my own. I've aced all the quizzes easily, and felt like I understand and could do everything else in the track so far. This challenge felt like it jumped two levels in difficulty at once.

What I've liked about Treehouse so far is that the curriculum is properly scaffolded. This means you learn one small thing, check for understanding, use that small thing. Then add another small thing, check for understanding, use that small thing, repeat. But this challenge scares me because it is too hard for a beginner level. I'm scared other challenges in this track will do the same leap in difficulty :(

Erik Nuber
Erik Nuber
20,629 Points

Where are you at in the course for JS? It doesn't say?

Amber Touch
Amber Touch
2,339 Points

Sorry, it's the challenge for generating random numbers. There are a lot of constraints put in, it's like double the prior challenge!

4 Answers

Amber Touch
Amber Touch
2,339 Points

Hi Reuben! Those two resources (freecodecamp and Eloquent Javascript) keep getting recommended to me! They must be good. I have noticed that if I come back to a problem in a day or two I can sometimes find my mistake with fresh eyes. Thanks for your encouragement :)

Erik Nuber
Erik Nuber
20,629 Points

I see the random number generator gets used quite frequently during the course, it will be improved upon. I thought his courses were well done and, though it may seem confusing at first, the idea is to use prior knowledge along with new knowledge to complete the challenge. I know I watched those videos several times and am still going back and rewatching some of the them because when you don't use it and practice, it is easy to forget.

If there is something in particular you aren't comfortable with or don't understand, I would either ask, or try finding more information online. W3Schools has a really well laid out section in JavaScript and jQuery that really helped solidify certain things that weren't sinking in. I have also used freecodingschool.com. If you sign up for that, there is a button on the top right side that says map. You can click it and it will allow you to jump to sections you would like to specifically look at.

Its a bit dry but, going back and practicing things you aren't used to really does help.

I know you can do it and, if you went from the HTML and CSS courses to JS you may feel overwhelmed as it is definitely more complicated but, you will feel more confident and able if you keep at it.

Even if you have to go back over the same section/course for a week and just keep doing it, there will be a point it just makes sense. I asked about where you were at as I had a particular issue learning jQuery and, as it turns out once you grasp it, it makes things easier.

Best of luck and if you have a particular problem feel free to ask.

Amber Touch
Amber Touch
2,339 Points

Thanks so much for your encouragement and tips. I am familiar with W3 Schools and I really like their website. I especially like how they break information down into small parts. That way feels less overwhelming. Javascript is my first programming language, so of course it will feel a bit new and difficult at first. I will re-watch the videos and check out other sources as well. I've bought a few books on Javascript, and also watched several tutorials on Youtube. There are a few Udemy courses that I bought and haven't yet completed that I can turn to also. That's one great thing about learning Javascript. Since it's so popular, there are tons of resources out there to use, many of them are even free.

I'll keep hanging in there. Thanks again!

Reuben Su'a
Reuben Su'a
2,003 Points

Hey, if your finding it difficult take a break and try something else :) I would recommend reading through http://eloquentjavascript.net/ or trying https://www.freecodecamp.com/.

The reason I say this is because going over the basics really improves your confidence with javascript and also helps you to develop a programmers mindset. As was mentioned before research everything :) Don't give up learning is hard but rewarding! Sometimes if you sleep on a problem and come back feeling refreshed it just clicks.