Ancient Brain
  
Drag the background!
 

Step 12. Errors

Errors while writing programs are normal. The important thing is to understand where the error is.
  1. The editor warns you about errors using an X icon on the left-hand side. Hover on it for info.
  2. When you save the file, you will be warned again in the pop-up.
  3. Some errors cannot be detected in the editor and you will only find out when you run the program.
  4. Errors found when the program is run are displayed in the JavaScript console. To see the console, press Ctrl-Shift-J on Chrome and Firefox, or F12 on Edge and IE.
The background is a program, showing the JavaScript graphics used on this site.
The globes light up when you log in. Drag the background to move the camera.
Customise background:  
Font:

Website © Ancient Brain 2025.
Users retain ownership of user content.

Platforms      Stats      The name      Terms and conditions

Call for partners      Contact

Call for partners!
Ancient Brain is looking for a partner to co-write a JavaScript coding book for schools, to be used worldwide. This would be a course for students in learning to code from scratch. The book and course will be integrated into the Ancient Brain site. This is an opportunity for someone looking to develop a course and textbook to partner with a site to promote it. Read more.