Please enable JavaScript to use CodeHS

Introduction to Computer Science in JavaScript (Corgi)

This course teaches the foundations of computer science and basic programming, with an emphasis on helping students develop logical thinking and problem solving skills. Students learn material equivalent to a semester college introductory course in computer science and can program in JavaScript upon completion.

Overview & Highlights

Level
High School
Contact Hours
125
Timeframe
Year

Course Overview

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

MODULES - 14

  • 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 Basics

    Students learn the basics of JavaScript including variables, user input, mathematics, and functions.

  • The Canvas and Graphics

    Students learn how to add graphics objects and position them on the canvas.

  • Graphics Challenges

    Students apply what they have learned about graphics and basic JavaScript to complete a set of challenges.

  • 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 module to solve new challenges.

  • Functions

    Students learn to write reusable code with functions, parameters, and return values, and explore the impact of variable scopes.

  • Functions Challenges

    Students use what they have learned in the Functions module to solve new challenges.

  • 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 module to solve new challenges.

  • Project: Breakout

    Students learn how to make their own Breakout game from scratch using JavaScript.

  • Final Project

    Students apply the skills they've learned throughout the course to create an original program!

  • Final Exam

    This course ends with a 25 question multiple choice exam.


106
Lessons
85
Videos
183
Exercises
82
Challenges
119
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 Introduction to Computer Science in JavaScript (Corgi) course

Industry-Relevant Certifications for High School Computer Science

The CodeHS JavaScript Level 1 Certification offers high school students the opportunity to validate their mastery of JavaScript, giving them a competitive advantage when entering college or the workforce.

Learn More

Professional Development

Teaching Intro Computer Science in JavaScript (2023)

Dive into the basics of programming and learn how to lead a successful introductory computer science class. This course covers everything from learning effective debugging methods to teaching computer science in a blended classroom. Perfect for teachers with limited or no programming experience.

View Units CodeHS PD Options

Standards Alignment

Showing top aligned frameworks
Standards Framework Alignment
Nebraska Foundations of Computing 58% View
JSE Certified Entry-Level JavaScript Programmer (JSE-40-01) 57% View

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.

FAQ

Frequently Asked Questions

Is Introduction to Computer Science in JavaScript (Corgi) a good first computer science course?

Yes. Introduction to Computer Science in JavaScript (Corgi) is the CodeHS flagship intro course, built to start from zero. Students begin by giving simple commands to Karel the Dog, then move into writing real JavaScript. It covers material equivalent to a one-semester college introductory CS course, making it a solid foundation for any student new to programming.

Do students need any prior coding experience to take Introduction to Computer Science in JavaScript?

No. Introduction to Computer Science in JavaScript (Corgi) assumes no prior coding experience. It opens with Karel the Dog, where students learn programming logic like loops, conditionals, and functions by moving a dog through a grid before any JavaScript syntax. The course introduces each concept step by step, so students who have never written code can start here comfortably.

What will students build in Introduction to Computer Science in JavaScript?

Students build a range of programs in Introduction to Computer Science in JavaScript (Corgi). They start by solving Karel the Dog puzzles, then create graphics and animations on a canvas, program mouse and keyboard interactions, and build a fully working Breakout arcade game from scratch. The course ends with an original final project students design and code themselves.

Why does Introduction to Computer Science in JavaScript teach JavaScript as a first language?

Introduction to Computer Science in JavaScript (Corgi) uses JavaScript because it runs in any web browser with nothing to install, and it makes visual, interactive results easy to see right away. Students can draw graphics, animate them, and build games in the browser, which keeps a first CS course engaging while teaching the core concepts found in any programming language.

How is Introduction to Computer Science in JavaScript different from Introduction to Python Programming?

Both are beginner CS courses from CodeHS that need no prior experience; the main difference is language and style. Introduction to Computer Science in JavaScript (Corgi) starts with Karel the Dog and leans into browser graphics, animation, and games, while Introduction to Python Programming teaches the same fundamentals in Python, known for readable, text-based syntax. Choose the one that fits your pathway.

Do teachers need computer science experience to teach Introduction to Computer Science in JavaScript?

No. Teachers do not need a computer science background to teach Introduction to Computer Science in JavaScript (Corgi). CodeHS provides lesson plans, answer keys, example solutions, and a teacher dashboard, plus optional professional development designed for teachers with limited or no programming experience. Many teachers learn alongside their students using the built-in resources.

Does Introduction to Computer Science in JavaScript prepare students for a certification?

Yes. Introduction to Computer Science in JavaScript (Corgi) prepares students for the CodeHS JavaScript Level 1 Certification and includes a built-in practice module with review quizzes so students can build toward the certification as they learn the fundamentals of programming in JavaScript.

What course should students take after Introduction to Computer Science in JavaScript?

After Introduction to Computer Science in JavaScript (Corgi), CodeHS recommends the AP Computer Science pathway: AP Computer Science Principles, then AP Computer Science A. It also feeds a web development pathway into Web Development and Mobile Apps. Students can even take Introduction to Python Programming next; many concepts carry over, but its different approach makes it a great way to learn a second language and see how the same ideas apply.