Frontend APIs Real Life Projects
Frontend APIs Real Life Projects
LocalStorage API
Description: Stores data in browser's local storage. Data persists until manually cleared.
Geolocation API
Description: Retrieves user's current location (latitude, longitude) for location-based services.
Notification API
Canvas API
Description: Allows drawing 2D and 3D graphics, images, and animations. Useful for games and
interactive UI.
Description: Provides functions to play, pause, and control volume of media content.
Description: Stores data only for the duration of the page session (until the tab or browser is closed).
Fetch API
WebSockets API
Description: Establishes a persistent connection between client and server, useful for real-time
Description: Allows users to drag and drop elements like files, images, and text in web pages.
Clipboard API
File API
Description: Enables reading and manipulating files selected by the user without uploading them to
the server.
Fullscreen API
Description: Provides functionality to make elements or the entire page fullscreen for an immersive
experience.
Vibration API
Description: Allows triggering a vibration on the user's mobile device. Useful for alerts and
notifications.
Description: Recognizes user voice and converts it to text, useful for voice commands and voice
search.
Description: Detects when elements come into view on the screen, useful for lazy loading and
animations.
Description: Allows background tasks to sync when the user has a stable internet connection. Ideal
Description: Allows creating a standard way for websites to request payments from users,
Description: Runs in the background and allows caching resources to make websites available
Description: Retrieves information about the device's battery level and charging status, useful for
energy-efficient apps.
Geofencing API
Description: Allows tracking user's location and triggers actions when they enter or exit a defined
geographical area.