Treffer: Bringing AI APIs into the Classroom with a JavaScript Coding Site

Title:
Bringing AI APIs into the Classroom with a JavaScript Coding Site
Authors:
Source:
International Journal of Information and Education Technology. 15:272-279
Publisher Information:
EJournal Publishing, 2025.
Publication Year:
2025
Document Type:
Fachzeitschrift Article
ISSN:
2010-3689
DOI:
10.18178/ijiet.2025.15.2.2240
Accession Number:
edsair.doi...........a6aa6bed6b0ce7ecf874d291eb54f0c1
Database:
OpenAIRE

Weitere Informationen

With the growth of large-scale Artificial Intelligence (AI) models has come the growth of AI Application Programming Interfaces (AI APIs), where the model remains at the remote site, and is called remotely via an API. The goal of this work is to bring accessible coding for AI APIs into the classroom. This paper describes two key innovations. First, a new JavaScript coding site, “Ancient Brain”, designed for education with a focus on AI. And second, the building of an extensive set of open-source JavaScript AI API programs that can be run by students in the browser and can also be edited and modified by students in the browser (on Ancient Brain). A search of coding sites struggles to find any comparable collection of AI API JavaScript programs for students in existence anywhere. While AI APIs can be called in any programming language, this paper discusses the advantages of a JavaScript-based system. We discuss issues such as public versus hidden code, API key management, API response delays and CORS issues, with consideration of how to address these in an educational environment. Future work would be to build AI API exercises for secondary school students using this starter collection.