Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

Your code logic for taking a tea break every 4 hours looks correct, but the error message suggests there's an issue with the if condition. Ensure your if statement if (teaHour % 4 === 0) is correctly implemented to call teaBreak() every 4 hours. Sometimes errors can stem from minor formatting issues or overlooked problem requirements. Double-check the instructions to ensure nothing is missed, and if the issue persists, consider posting the exact problem statement for more specific help.
3 months ago
Hey there!! What specific part didn’t you understand? Let me know, and I’ll explain it in simpler terms!
3 months ago