From d14155caa73a07b19c82af80e40f74b251dac149 Mon Sep 17 00:00:00 2001 From: astoneham Date: Sat, 12 Oct 2024 12:33:43 -0700 Subject: [PATCH] update practice 03_09 add lidOpen Property to the backpack add the lidOpen: false property to the backpack before the toggleLid method. --- Practice/03_09/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Practice/03_09/script.js b/Practice/03_09/script.js index 1dd07f08..38b85aa4 100755 --- a/Practice/03_09/script.js +++ b/Practice/03_09/script.js @@ -16,6 +16,7 @@ const backpack = { left: 26, right: 26, }, + lidOpen: false, toggleLid: function (lidStatus) { this.lidOpen = lidStatus; },