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

Java Java Basics Perfecting the Prototype Censoring Words - Looping Until the Value Passes

Watched 100 times -- still don't get it

I've watched this SO many times and I still don't get it. Can someone please break it down for me?

4 Answers

Well.

Watch it again and watch it on 0.5speed and listen very carefully on what the teacher is saying. Understand every single part of code, and then, do it as well, and after you have done it, do it again without looking.

Take it slow.

Mahvish,

I'm right there with you. I have also watched it numerous times and understand about half of it. I tried the exercise afterwards and completed the first 2 tasks but was lost on the 3rd. I just couldn't figure out what he wanted me to do. I get the "loop" concept but am not understanding how to implement it. If I figure it out, I'll let you know. Keep plugging away.

Thanks, Jennifer! I understood it in other YouTube videos but I got pretty confused here and the exercise following it.

How you guys are exactly learning? could you tell me please how your process looks? It took me two years to realise on how to properly learn.

You have probably already figured out how to do task 3 by now (your response is 7 months old) but incase anyone else is having trouble it's actually quite simple. Just add the line

console.printf("Because you said %s, you passed the test!");

Konrad Pilch, I just started...so idk how well i could advice you. Right now, TreeHouse is my main way of learning. If I'm really stuck on something, I have a friend that I can ask for help. I also write down a lot of notes to help retain the info. How are you learning?

xD I wanted to advice you . Sorry i need to go sleep but if you try to write here something so i get a notification and i can reply to it.

If you can give me an exact example of what isn't making sense, I can try to help.