Lesson Plan
Code.org

Functions and Top-Down Design

For Teachers 9th - 12th
Let me break it down for you! Introduce your class to a way of breaking up a complicated task into its component pieces. Individuals draw a complex figure using JavaScript and then break it down to help determine the...
Lesson Plan
Curated OER

Animated Snowman

For Teachers 9th - 12th
Students produce a web page with an animated snowman using DHTML and JavaScript. The finished project must work correctly in Netscape 4.7 and Internet Explorer 5.0 on both Mac and PC.
Lesson Plan
Code.org

Using Simple Commands

For Teachers 9th - 12th
Turtles might be slow, but class will zoom by when your pupils build a program in which reptiles draw a grid. Using App Lab and JavaScript, class members build a program to find the most efficient way to draw an image of a...
Lesson Plan
Code.org

APIs and Using Functions with Parameters

For Teachers 9th - 12th
Introduce your class to the API, a reference guide that lists and explains the functionality of programming language. Using JavaScript, individuals draw complex designs that require additional commands and parameters defined in the...
Lesson Plan
Curated OER

A Wee Dose of JavaScript

For Teachers 9th - Higher Ed
Students describe the difference between Java and JavaScript. They explain the relationship of JavaScript to other elements of an HTML document. They write general code for a set of JavaScript instructions. They describe the JavaScript...
Lesson Plan
Code.org

Creating Functions

For Teachers 9th - 12th
Quit repeating yourself ... you can make this simpler! Rather than repeating the same set of code over and over, class members learn to build and call functions in a series of challenges in App Lab. In the end, they combine...
Lesson Plan
Code.org

Looping and Random Numbers

For Teachers 9th - 12th
Repetition, repetition, repetition. Get your class to efficiently repeat a section of code over and over again by introducing looping. Class members learn looping to quickly recreate objects they want to appear more than once in their...
Lesson Plan
Code.org

User Input and Strings

For Teachers 9th - 12th
Pupils learn to apply strings in computer science. They master two new user interface elements and also use string type data to represent ASCII characters. Finally, individuals create an app for Mad Libs in the eighth lesson of the series.
Lesson Plan
Code.org

Canvas and Arrays in Apps

For Teachers 9th - 12th
Scholars learn how to make a digital canvas and fill it with artwork by creating a drawing app using the canvas element. The activity requires learners to previous knowledge of arrays and return commands to draw images.
Lesson Plan
Code.org

Compound Conditional Logic

For Students 9th - 12th
Scholars explore compound conditional logic and learn to use the Boolean operators AND, OR, and NOT within conditional statements by incorporating these operators to improve a previously created app.
Lesson Plan
Code.org

Practice PT - Design a Digital Scene

For Teachers 9th - 12th
The final performance task for the unit requires class members to utilize what they have learned to create a personal digital scene. Groups work together to develop a scene and then, using top-down design, break the scene into...
Lesson Plan
Code.org

Introducing Design Mode

For Teachers 9th - 12th
Move beyond buttons when designing user interfaces. In the fourth installment of a 21-part unit, young computer scientists learn to apply design mode, which gives users options for colors, fonts, etc. They learn to incorporate these...
Lesson Plan
Code.org

Multi-screen Apps

For Teachers 9th - 12th
Scholars continue their study of event-driven programming by creating a multi-screen app in the fifth lesson of the series. They incorporate previously learned elements and events in the mini-project.
Lesson Plan
Code.org

Controlling Memory with Variables

For Teachers 9th - 12th
Not all variables are created equal. Discover how variables in computer science are different from variables in math class. Scholars learn to work with variables in computer programming by developing a mental model for how variables...
Lesson Plan
Code.org

Using Variables in Apps

For Teachers 9th - 12th
Investigate the benefits of using global variables. The seventh installment of a 21-part unit continues the study of variables from the previous lesson. Young computer scientists modify two existing apps by adding variables and learn how...
Lesson Plan
Code.org

Introduction to Digital Assistant Project

For Students 9th - 12th
How does a computer recognize voice commands? Scholars learn about digital assistants and natural language processing (NLP) algorithms in the ninth instructional activity of the series. They begin building a simple digital assistant and...
Lesson Plan
Code.org

Understanding Program Flow and Logic

For Teachers 9th - 12th
Explore decision-making logic in programming computer games. The 10th installment of a 21-part unit teaches scholars how to apply conditional statements and Boolean expressions. They use these concepts to create a "Guess My Number" game...
Lesson Plan
Code.org

Introduction to Conditional Logic

For Teachers 9th - 12th
On one condition ... explore how to use conditionals within conditionals. Scholars apply conditional statements to improve upon the app they built during a previous lesson. They also learn about nested conditionals in the 11th lesson of...
Lesson Plan
Code.org

Processing Arrays

For Teachers 9th - 12th
Scholars use a playing card activity to help them develop a program to find the minimum value of a list. They learn to use for loops to write code that will process lists. 
Lesson Plan
Code.org

Functions with Return Values

For Teachers 9th - 12th
Young computer scientists explore how to use the return command in computer programing by playing Go Fish. They learn about functions that return values and then write a turtle driver app using the return function. 
Lesson Plan
Code.org

Events Unplugged

For Teachers 9th - 12th
Introduce event-driven programming. Young computer scientists learn the meaning of event-driven programming and how it is different from previous styles of programming. They play a card game to simulate the challenges that occur in this...
Lesson Plan
Code.org

Event-Driven Programming and Debugging

For Teachers 9th - 12th
Start programming in event-driven style. Scholars learn to place buttons on the user interface and use event handlers. They also learn to recognize errors in code and debug as necessary. This is the second lesson in the series of 21.
Lesson Plan
Code.org

Image Scroller with Key Events

For Teachers 9th - 12th
Discover how to embed images in lists. Scholars modify an existing app to include an image scroller in the 17th lesson of the series. They learn to refactor code and remove redundancies after modifying code.
Lesson Plan
Code.org

Beyond Buttons Towards Apps

For Teachers 9th - 12th
Explore how people use event-driven programming in games with a lesson plan that teaches scholars to use new screen elements and events. They apply these new elements to create a simple chaser game.

Other popular searches