Page 1 of 1

Task 3: Add a New Locker Here you will write the function to add a new locker to the LockerList instance. All code in th

Posted: Wed Apr 27, 2022 3:29 pm
by answerhappygod
Task 3 Add A New Locker Here You Will Write The Function To Add A New Locker To The Lockerlist Instance All Code In Th 1
Task 3 Add A New Locker Here You Will Write The Function To Add A New Locker To The Lockerlist Instance All Code In Th 1 (28.13 KiB) Viewed 32 times
Task 3: Add a New Locker Here you will write the function to add a new locker to the LockerList instance. All code in this task should be written in main.js. 1. Write a function addNewLocker This function is responsible for the interaction with the user to create a new locker using the addLocker method in the LockerList class. is this the first locker? No Generate an id based on the last locker id (incrementing sequence) Yes id is A001 Call Lockerlist method addLocker with the id Update locker display on page using displayLockers function Update Local Storage