Learning With Mentor AI

So far, you’ve found your way around the course sidebar, a tutorial, and a reference term on your own. Soon you’ll write your first line of JavaScript, and questions will come up when a test fails or an error message uses unfamiliar words.

Mentor AI is a personal JavaScript mentor that works alongside you across RealJS. It sees the tutorial, lesson, or exercise you’re on, so you can ask about that spot without explaining where you are. It helps you understand, practice, and keep moving. You can access Mentor AI by becoming a RealJS member.

Inside lessons, Mentor AI often appears as a button. Pressing one opens the mentor with a question already typed in, ready to edit or send. Here’s one about the exercise coming up next:

Be specific. The mentor already knows your page, so name the exact thing you’re stuck on, such as the failing test, a surprising line, or a phrase in an error message. That gets you further than “help me with this exercise”, but asking that is perfectly fine as well.

By default, the mentor coaches you through the failing test or the idea behind it instead of handing over the solution. Because: remember active learning! An answer that you work out yourself is much more likely to stick. You can still ask for the full answer when you want it.

You can also learn with a mentor by explaining an idea back in your own words and letting it point out the gaps. Try it with something from a couple lessons ago. Do you remember how a course keeps track of your progress? Press the button and send the line it fills in, then write your explanation as your next message.

Read the mentor’s feedback, then revise or clarify one point it raises. The points that hold up are ones you understand, and anything the mentor corrects is worth revisiting.

Mentor AI is part of a RealJS membership, but the habit behind these buttons works anywhere. When you’re stuck, write down the exact step that confuses you and what you’ve tried. Putting it into words often shows you the problem.

Alright, time to get into the habit of that habit, so to say! The next lesson is a one-line JavaScript coding exercise. If a test turns red there, read its message first, and then try asking Mentor AI about it.

Become a Member to join the conversation.