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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 30 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply