Please enable JavaScript to use CodeHS

Intro to Programming in JavaScript with Arduino

This course merges the Introduction to Computer Science in JavaScript and the Introduction to Physical Computing with Arduino courses. This course provides the prerequisite information needed before students apply programming concepts to their physical Arduino device.

Overview & Highlights

High School
Contact Hours

Course Overview

To view the entire syllabus, click here or click to explore the full course.

Programming With Karel
Students learn the basics of programming by giving Karel the Dog commands in a grid world.
Karel Challenges
Students apply all the foundational concepts from Intro to Karel to solve new challenges.
JavaScript and Graphics
Students learn the basics of JavaScript including variables, user input, mathematics, and basic graphics.
Graphics Challenges
Students learn how to pair program while tackling more challenging tasks with JavaScript graphics.
Intro to Arduino
Students go through the basics of the Arduino device, such as how to light up and change the brightness of LEDs, and learn how variables can be used to write more versatile programs. Students build circuits to control LEDs and motors with the Arduino and explore how pseudocode can be used to structure programs from the start.
JavaScript Control Structures
Students learn how to use control structures such as if/else statements and loops to make advanced programs in JavaScript.
Control Structures Challenges
Students apply the foundational concepts from the Control Structures unit to solve new challenges.
Functions and Parameters
Students learn to write reusable code with functions and parameters.
Functions Challenges
Students use what they have learned in the Functions unit to solve challenges.
Program Control with Arduino
Students learn how to apply control structures, such as if/else statements and loops to create programs that will react to the outside world. They build programs that use sensors to detect temperature, light, and distance and make decisions based on the information collected.
Animation and Games
Students learn how to make objects move around the screen and let users interact using the mouse!
Animation Challenges
Students apply all the foundational concepts from the Animations unit to solve new challenges.
Project: Breakout
Students learn how to make their own Breakout game from scratch using JavaScript.
Advanced Arduino
Students have a chance to explore all of the capabilities of the Arduino on their own! They research, explore, and teach their peers about new sensors, follow directions to build an advanced device, and have a chance to create their very own Arduino machine.
Final Project
Students apply all the skills they've learned throughout the course to create a final program with a partner!
Final Exam
Students prove their knowledge of all concepts learned throughout the coruse in a final exam.

Offline Handouts

Demo Programs

Explore programs that your students will build throughout this course!

Course Resources

Here are a few examples of teacher resources and materials to use in the Intro to Programming in JavaScript with Arduino course


Intro to Programming in JavaScript with Arduino is aligned with the following standards

Standards Framework View Alignment
Arkansas 9-12 View (51.6%)
Utah 11-12 View (50%)

Customizable Assignments

Create and organize Assignments in any CodeHS course that you're teaching. You can even add custom assignments to pre-existing CodeHS courses.

Learn More

Actions for Teachers

Didn’t find what you were looking for? Here are a few links that might be useful to you.

You also might like

Related Courses