Fix — Codehs All Answers Karel
Karel doesn't know how to turn right. To solve this (and many early CodeHS assignments), you must define a function. javascript
Before you look for complex solutions, you have to master the four things Karel actually knows how to do: move(); — Moves Karel one space forward. turnLeft(); — Rotates Karel 90 degrees counter-clockwise. putBall(); — Places a tennis ball. takeBall(); — Picks a tennis ball up. codehs all answers karel
Cracking the Code: The Real Guide to "CodeHS All Answers Karel" Karel doesn't know how to turn right
Karel needs to move to a ball, pick it up, and return to the starting point. — Places a tennis ball. takeBall()
function start() turnRight(); turnRight();
90% of Karel errors are just a missing } .