Lesson Planet
Search educational resources
  • Sign In Try It Free
  • AI Teacher Tools
    • Discover Resources Search reviewed educational resources by keyword, subject, grade, type, and more
    • Curriculum Manager (My Content) Manage saved and uploaded resources and folders To Access the Curriculum Manager Sign In or Join Now
    • Browse Resource Directory Browse educational resources by subject and topic
    • Curriculum Calendar Explore curriculum resources by date
    • Lesson Planning Articles Timely and inspiring teaching ideas that you can apply in your classroom
    • Our Story
    • Frequently Asked Questions
    • Testimonials
    • Contact Us
  • Pricing
  • School Access
    • Your school or district can sign up for Lesson Planet — with no cost to teachers
      Learn More
  • Sign In
  • Try It Free

Hi, what do you want to do?

Create a lesson plan
Create a lesson plan
Generate resources with 80+ AI teacher tools
Generate resources with 80+ AI teacher tools
Search 200,000 instructional videos
Search 200,000 instructional videos
Find a teaching resource
Find a teaching resource
Challenge: SmileyFace InteractiveChallenge: SmileyFace Interactive
Publisher
Khan Academy
Resource Details
Curator Rating
Educator Rating
Not yet Rated
Grade
6th - Higher Ed
Subjects
STEM
1 more...
Resource Types
Activities & Projects
1 more...
Audiences
For Teacher Use
1 more...
Duration
30 mins
Instructional Strategies
Guided Practice
2 more...
Usage Permissions
Creative Commons
BY-NC-SA: 3.0
cc
Interactive

Challenge: SmileyFace

Curated and Reviewed by Lesson Planet
This Challenge: SmileyFace interactive also includes:
  • JavaScript Guide
  • Student Reference
  • Join to access all included materials

Two smiley faces are better than one. The interactive lesson challenges pupils to use methods to alter a program to make it more efficient. Individuals use the new code to create multiple smiley faces that speak. The engaging activity is the fourth segment in a series of six.

7 Views 11 Downloads

Concepts

computer code, computer drawing, computer science, javascript, coding, Computer Programming, computers, computer software

Instructional Ideas

  • Use the code created in the tutorial as a basis to create other designs
  • Have the class experiment with changing the parameters of the objects

Classroom Considerations

  • Pupils should be familiar with object methods

Pros

  • Provides guidance as the pupil codes
  • The challenge is broken down into steps, making it easier for students of every level to complete

Cons

  • None

See similar resources:

Lesson Plan

Star Wars: Building a Galaxy with Code

Code.org
Welcome to the code side. The interactive instructional activity introduces coding in a game format with familiar characters. Young computer experts learn to develop code to control the interaction of the characters in the game. The...
3 mins 6th - 12th STEM
Instructional Video

Object Types

Khan Academy
Young coders learn how to use a function to create objects with similar properties and to allow for the creation of objects repeatedly with a short video that makes the point that coding with a function eliminates repetitions.
7 mins 6th - Higher Ed STEM
Interactive

Challenge: Double Rainbow

Khan Academy
Draw a rainbow over the rainbow. The second segment in a series of six has the class practice using functions to edit a program that draws a rainbow. After creating the function, the interactive lesson challenges pupils to create another...
6th - Higher Ed STEM
Interactive

Challenge: Movie Reviews

Khan Academy
Create an array of objects in a JavaScript coding practice activity. Movie titles and reviews for multiple movies are collected in an array of objects and then printed out with a looping construct. 
6th - Higher Ed STEM
Interactive

Challenge: Recipe Card

Khan Academy
Anyone hungry? Create a recipe object in this coding activity. Include a title, number of servings, and ingredients. All of this adds up to one delicious practice opportunity for your programming students who are just learning how to use...
6th - Higher Ed STEM
Interactive

Challenge: Picture Painter

Khan Academy
Your young coding students will love the result of this programming activity and will be amazed at what they can make the computer do. Using objects and their properties, they will create a paint brush that will redraw an object across...
6th - Higher Ed STEM
Interactive

Challenge: Exploding Sun

Khan Academy
Animating an object by moving it across a computer screen can be accomplished by drawing the object repetitively, each time adjusting some aspect of the drawing slightly. This activity is an easy introduction to animation in JavaScript,...
6th - Higher Ed STEM
Interactive

Challenge: Tasty Tomato

Curated OER
Take a big bite out of the red tomato by practicing your use of the variables mouseX and mouseY in a JavaScript coding task. The activity will guide you step-by-step and will help young coders understand how to draw objects based on the...
2 mins 6th - Higher Ed STEM
Interactive

Challenge: Constellation Maker

Khan Academy
Populate your own universe with constellations and stars. Modify the existing JavaScript code to use the push method of arrays, and mouseX and mouseY to draw a star based on the click and position of the mouse. 
6th - Higher Ed STEM
Interactive

Challenge: Mouse Tracker

Khan Academy
Create a small but useful little program that allows you move a dot with your mouse and see the coordinates change as the mouse moves.  Starting with a dot that moves with the mouse, add to this program the text of the points...
6th - Higher Ed STEM
Try It Free
© 1999-2026 Learning Explorer, Inc.
Teacher Lesson Plans, Worksheets and Resources

Sign up for the Lesson Planet Monthly Newsletter

Open Educational Resources (OER)

  • Health
  • Language Arts
  • Languages
  • Math
  • Physical Education
  • Science
  • Social Studies
  • Special Education
  • Visual and Performing Arts
View All Lesson Plans

Discover Resources

  • Our Review Process
  • How it Works
  • How to Search
  • Create a Collection

Manage Curriculum

  • Edit a Collection
  • Assign to Students
  • Manage My Content
Contact Us Site Map Privacy Policy Terms of Use