DRAG DROP
You are developing an airline reservation website by using HTML5 and JavaScript. A page on the site allows users to enter departure and destination airport information and to search for tickets.
You have the following requirements:
• Users must be able to save information in the application about their favorite destination airport.
• The airport information must be displayed in the destination text box whenever the user returns to the page.
You need to develop the site to meet the requirements.
Which line or lines of code should you use? (To answer, drag the appropriate command or commands from the list of commands to the correct location or locations in the work area. Each line of code may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Answer:
Explanation:
* retrieve localStorage.destination
* store localStorage.destination