An example password generator build on vanilla JS, HTML & CSS
Demo 💻
- Clone the repo
git clone https://github.com/dewhurstwill/example-vanilla-js-pwa-password-generator.git
- Copy the files to the root of your webserver or double click index.html to run locally
- (Optional) If running on a webserver update start_url in manifest.json to be the URL of where the app is hosted in may case this would be https://pass.wdew.uk
- Open Safari
- Navigate to your url, in my example this will be https://pass.wdew.uk
- Click the button that looks like
- Select "Add to Home Screen"
- Click "Add" in the top right
- Now you can use it as if it were a native app
- On your Android device, open Chrome.
- Navigate to your url, in my example this will be https://pass.wdew.uk
- Click the 3 dot menu
- Tap Add to home screen.
- Now you can use it as if it were a native app
Folder/File Name | Purpose |
---|---|
android | Android PWA Icons |
chrome | Chrome PWA Icons |
firefox | Firefox PWA Icons |
msteams | MSFT Teams PWA Icons |
windows | Windows PWA Icons |
windows10 | Win 10 PWA Icons |
index.html | Structure of the app |
manifest.json | PWA Manifest |
script.js | Supporting code for the app to function |
style.css | Styling for the app |