This prototype allow users to add data that will be saved in IndexedDB and then displayed on the screen once the 'ADD' button is pressed.
Have a look below for a quick demonstration on it's usage:
Basic implementation of IndexedDB and how to use data stored in it to modify DOM
Have a project structure like:
Things are highly subjective but pick a structure and try to have all your projects organised in that way.
src/js/script.js
src/index.html
README.md
Everywhere you seem to reference the variable database but where is it created?
Can you point out the line?
What is the difference between this variable and request?
Line 10 in 253f0be
Think about what is stored in this variable. Regardless of the fact that you are trying to create a node element, you are still using JS so think about what can you store inside variables and what you can't store.
The error message together with the message I wrote above should be enough for you to catch the error.
Line 45 in 253f0be
Line 34 in 253f0be
Line 40 in 253f0be
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.