The project is assembled using the parcel. Here we will discuss the main methods of working with local storage.
• images gallery Using the package manager for JavaScript npm
, the SimpleLightbox library is installed.
• video player:
- Added Vimeo libraries as a project dependency via npm.
- Saved playback time to local storage.
- When reloading the page, resume playback from the saved position.
- The lodash.throttle library was added to the project and made so that the playback time is updated in the repository no more than once per second.
• feedback form Created a script that saves field values to local storage when the user types something.
To use this repository, follow these steps:
-
Clone the repository to your local computer
git clone https://github.com/ShevchenkoOl/gallery_videPlayer_formFeedback.git
; -
use
npm install
command to install package dependencies -
Navigate to the relevant section to explore the corresponding material.
-
Open files and study the provided code examples.
This repository was created and maintained by Oleksii Shevchenko. Questions, suggestions, and feedback can be directed to email or linkedin profile.