Once your students have completed at least five lessons of Programming 101 or equivalent coding experience, you can assign these NGSS-aligned projects to complement your teaching on topics in geology, meteorology, oceanography, and astronomy. For example, if you’re teaching a lesson on the structure of the Earth, you can assign the Earth’s Composition project. Your students will use coding and outside research to create an interactive diagram about the layers of the Earth.

With this collection of earth science projects, you can easily integrate coding and project-based learning into your curriculum. Each STEM lesson walks students through how to make a project about something they’re learning in school with step-by-step instructions. At each step, it encourages them to make their project unique and interesting, emphasizing that coding is a creative medium much like writing or drawing.

We’re constantly updating our STEM courses with new projects, so if there’s something you’d like us to add, send us a message at

What Students Learn

  • Use programming for science projects
  • Build a slide show on a topic
  • Build a quiz game
  • Make an interactive charts and models
  • Use animation to illustrate
  • Narrate using your own voice
  • Use the physics engine to model
  • Troubleshoot and debug programs

Technical Requirements

* Online courses require a modern desktop computer, laptop computer, Chromebook, or Netbook with Internet access and a Chrome (29+), Firefox (30+), Safari (7+), or Edge (20+) browser. No downloads required.
* Tablet courses require an iPad (iOS 10+) with Tynker or Tynker Junior app installed and Internet access

Lesson Summary

Create a project that demonstrates your knowledge of the phases of the moon.
In this lesson, students will explore an interactive project to learn about the different phases of the moon relative to the sun. Next, students will follow a step-by-step tutorial in the DIY (do-it-yourself) module to create their own version of the project they just explored! Activities include changing the background; programming Earth to move; labeling the name for the moon’s phase; and adding images to display what the moon looks like during a given phase. If students are struggling with “Step 4: Change the Label,” tell them to use the moon Actor’s code as a reference for specific coordinates.

After completing the DIY module, students will be asked 5 multiple-choice quiz questions about the different phases of the moon. By the end of the lesson, students will have experimented with coding concepts (e.g., simple events, conditional loops, advanced motion, detecting conditions, basic math, advanced costume handling) while creating an interactive project that demonstrates the different phases of the moon!

Code Blocks

  • Gibbous: Phase of the moon where the majority of the moon's surface is illuminated by the sun
  • New moon: Phase of the moon where no light is visible on the moon
  • Crescent: Phase of the moon when the visible light on the moon is in a crescent shape
  • Quarter: Phase of the moon when light is visible on half of the moon and the other half is dark

Students will...
  • Analyze an interactive presentation about the moon
  • Use code blocks to create a presentation about the different phases of the moon

  • Computers or iPads (1 per student) with student account access to

  • simple events
  • conditional loops
  • advanced motion
  • detect conditions
  • basic math
  • advanced costume handling

  • NGSS-Science: MS-ESS1-1
  • CCSS-Math: MP.1
  • CCSS-ELA: SL.6.1, SL.7.1, SL.8.1
  • CSTA: 2-AP-12, 2-AP-13, 2-AP-16, 2-AP-17
  • CS CA: 6-8.AP.13, 6-8.AP.16, 6-8.AP.17
  • ISTE: 1.c, 1.d, 4.d, 5.c, 5.d, 6.b

Class Presentations

These student-facing slide presentations help educators seamlessly run Tynker lessons in a virtual or physical classroom setting. Each lesson has its own set of slides that introduce the big ideas, suggest unplugged activities, and include a section for each activity module. While running lesson slides, you can switch back and forth between the activity, the slides, answer keys and other lesson materials.
A sample slide presentation is available for your review. Please log in to view all the class presentations available with your plan..
Lesson 1
Phases of the Moon
25 Slides
Lesson 2
Earth's Composition
21 Slides
Lesson 3
Rock Cycle
25 Slides
Lesson 4
Layers of the Ocean
23 Slides
Lesson 5
Earth's Atmosphere
27 Slides
Lesson 6
Spring Tides
24 Slides
Lesson 7
Build an Ecosystem
30 Slides
Lesson 8
31 Slides
Lesson 9
Greenhouse Effect
27 Slides
Lesson 10
Carbon Cycle
27 Slides
Lesson 11
Zodiac Stars
22 Slides
Lesson 12
Gravity on the Moon
24 Slides
Lesson 13
Ocean Currents
24 Slides
Lesson 14
23 Slides
Lesson 15
Earthquakes and Tsunamis
27 Slides
Lesson 16
25 Slides
Lesson 17
Land and Sea Breeze
28 Slides
Lesson 18
Earth's Land and Water
24 Slides
Lesson 19
30 Slides