Skip to content

Latest commit

 

History

History

unit8

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Unit 8: Functions (Playlist Project)

Overview

In this unit, coders will learn about functions and create a Playlist web app. The Playlist will display a list of information about different songs with images and links to play the songs. To create this project, coders will create arrays to hold song information, use a for of loop to iterate over the arrays, and display data to the screen. They will use .push to add new songs to their playlist. Then, students will refactor their project to using objects instead of arrays to hold their data.

Sessions

Session Slides Coders will be able to ...
1
  • Declare a function that returns a value.

  • Coding Best Practices Highlight: Using Comments in Code
2
  • Declare a function that takes parameters.
3
  • Create an array and retrieve data using the array index.

  • Complete a project plan.
4
  • Iterate over an array using for and forEach loops.

  • Professional Skills Highlight: Discuss problem solving strategies and the importance of perserverance in coding.
5
  • Utilize the push(), length, appendChild(), and createElement() methods.
6
  • Create an access data from an object.

  • Coding Best Practices Highlgiht: Refactoring Code
7
  • Update properties and values in an object.