HTML, CSS & JavaScript code snippets
Code sample
This is a collection of useful HTML CSS & JavaScript sample code and snippets that I created or tweak while developing Cruiseable.com ⚓️ .
Obviously these will work beautifully in your PhoneGap/Cordova project.
- instant audio (tap feedback)
- Cache API calls
- check storage used
- get api/file size
- CSS double slider (range)
- capitalize string
- shuffle array
- Sort array based on property
- Swap higher resolution images
- add adaptive background color
- reasons why GPS failed
- add email field suggestions
- Dynamic search suggest
- email validation
- smooth scroll
- calculate distance between coordinates
- large number with commas
- find in JSON
- get all pages of API
- animated css spinner
- animated css progress bar
Published: Sat, Jan 9 2016 @ 12:13:20
Back to Blog