Grades 3-5
Grades 6-8

Spread Compassion! Coding Activity

Engage students in a coding activity to create a public safety announcement (PSA) around practicing compassion.

Activity Partner
Total time estimate:
30-60 minutes
Activity Objectives
  • Students will reflect on what compassion means to them, and consider how practicing compassion can help strengthen relationships
  • Then, using a self-guided coding tutorial, students will create a public safety announcement (PSA) that encourages others to practice compassion

This activity supports the development of the following
social-emotional skills: self-awareness, social awareness, and relationship skills.


Using the Codesters tutorial below, guide students in coding a public safety announcement (PSA) that encourages others to practice compassion! Explain that a public safety announcement shares important information with people, and encourages them to take helpful or important actions.

As students work on their coding projects, prompt them to think about what compassion means to them, and why it is important to them. You might ask:

  • What are acts of compassion that you have experienced? How did these experiences make you feel? What did you learn from them?
  • What are different ways to show compassion to ourselves, others, and to the world around us? 
  • How does practicing compassion strengthen our relationship with others? How does it make the world a better place?

Facilitate a live virtual exchange to invite students to share their public safety announcements with your Empatico partner class. Invite students to share what compassion means to them, how they practice compassion in their own life, and an act of kindness that they want to perform this week!

Alternatively, you might challenge them to code their public safety announcements together over a live virtual exchange, and participate in a joint coding session!


Guide students through a post-activity reflection by asking the following questions: 

  • Did you learn any new skills through this activity?
  • What did your public safety announcement focus on? Why did you choose this message or theme?
  • Were you inspired by any of your classmates’ announcements? What similarities or differences did you notice?
  • Who can you share your announcement with to inspire them to practice compassion?

This activity was created in partnership with

Did you finish this activity? We'd love your input.