CoursesCSS StudioExamplesGATECompaniesPrepMentora
Programs/JavaScript/Browser API

8 / 15

Next
1. Geolocation API2. Notifications API3. Clipboard API4. Fullscreen API5. Page Visibility API6. Web Workers7. Service Workers8. IndexedDB9. File API10. Canvas API11. Web Audio API12. Speech Synthesis13. Vibration API14. Battery API15. Intersection Observer

Browser API

  1. 01Geolocation API
  2. 02Notifications API
  3. 03Clipboard API
  4. 04Fullscreen API
  5. 05Page Visibility API
  6. 06Web Workers
  7. 07Service Workers
  8. 08IndexedDB
  9. 09File API
  10. 10Canvas API
  11. 11Web Audio API
  12. 12Speech Synthesis
  13. 13Vibration API
  14. 14Battery API
  15. 15Intersection Observer

IndexedDB in JavaScript

Use IndexedDB for client-side storage

AdvancedBrowser APIExample 8 of 15
indexeddb.js
1const request = indexedDB.open('MyDB', 1);
2request.onsuccess = (e) => {
3 const db = e.target.result;
4 console.log('Database opened');
5};

Output

Database opened

What's going on

IndexedDB provides client-side database storage.

PreviousService WorkersNextFile API

On this page

CodeOutputExplanation
Up nextFile API
Schoolabe

Learn, Practice, Ace Coding

ExamplesCompaniesTutorialsCSS StudioDSA VisualizersQuizInterview PrepMentoraCareer QuestGATE CS prepGATE CS 2027 study planJob ReadyInternships
AboutContactCareersAffiliate programBlog
DocumentationAPI ReferenceCommunitySupport
Privacy PolicyTermsRefund PolicyCookie Policy

© 2026 Schoolabe