Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 2.11 KB

unit-2-lesson-05.md

File metadata and controls

56 lines (40 loc) · 2.11 KB

Lesson 2.5: Array Properties & Methods


Lesson Materials

📖 Link Materials to Class Agenda:


Key Points

  • 👋 Welcome & Do Now (10) :

    • Use this time for students to come in and get ready.
    • Welcome students warmly and open the class agenda.
    • Prompt students to begin the 'Do Now' activity related to arrays.

  • 🗂️ Array Properties & Methods (10) :

    • Introduce arrays as containers holding elements.
    • Review accessing elements through indices (e.g., fruits[0]).
    • Discuss the length property to count elements.
    • Introduce common array methods: push(), pop(), shift(), and unshift(), providing examples for each.

  • 💻 Code Solo (30) :

    • Students will work independently or collaboratively in small groups to complete the tasks.
    • The exercise covers the different array properties and methods.
    • Provide support as needed.

  • ⏳ Break (10):

  • 🔄 DOM Manipulation Review (10) :

    • Reintroduce createElement() method.
    • Discuss setting element properties (e.g., innerHTML, src, style).
    • Introduce appendChild() method.
    • Provide an example combining both createElement() and appendChild() methods.

  • 💻 Project Work Time (40) :

    • Direct students to work on tasks involving saving and displaying user input using array methods.
    • Provide extension ideas for early finishers (e.g., styling, adding functionalities).
    • Offer support and guidance as students work on their projects.

  • 👋 Exit Ticket & Closing (10):

    • Recap the key takeaways from the lesson.
    • Address any questions or concerns.
    • Direct students to the exit ticket in the Class Agenda and ensure they complete it.
    • Double check and ensure all students have submitted their exit ticket.

Common Misconceptions

Additional Materials

  • n/a