Design with AI
Fundamentals

How to learn with AI?

How to use AI to learn and debug your code.

AI can be your fantastic pair programmer

Whenever you run into a problem, ask AI for help. Some of the techniques that worked well for us

  • Ask AI to explain the error message you are getting
  • Ask AI to explain the code you have written
  • Ask AI to find if there are problems in your code
  • Ask AI to fix the problems in your code and explain the fixes

How to use Distraction free code / Pseudo code?

This is specific to the course we have built, but the general idea can be applied to any codebase. When you are learning, you want to focus on the core concepts and not get distracted by the details. Pseudo code is a way to write code without the distractions of syntax and other details. It allows you to focus on the logic and structure of your code.

We have a feature in our course called "Distraction free code" which is essentially pseudo code. It removes all the distractions from the code and allows you to focus on the core concepts. You can use this feature to learn and debug your code with AI. Simply copy the pseudo code and ask AI to explain it. This way you can learn the core concepts without getting lost in the details.

Distraction free code example

const [cartCount, setCartCount] = 20;

<button onClick="setCartCount(cartCount - 1)">
  <Minus />
</button>
{ cartCount }
<button onClick="setCartCount(cartCount + 1)">
  <Plus />
</button>

On this page