Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

js session storage

sessionStorage.setItem('mode','dark');
const mode = sessionStorage.getItem('mode');
console.log(mode); // 'dark'
Comment

PREVIOUS NEXT
Code Example
Javascript :: remove null from array javascript 
Javascript :: radio button checked event jquery 
Javascript :: js regex domain name 
Javascript :: helmet graphql playground 
Javascript :: unset radio button jquery by name 
Javascript :: js get element padding 
Javascript :: get parameter from next.js route 
Javascript :: how to disable a div in javascript 
Javascript :: track window size js 
Javascript :: change window location javascript 
Javascript :: yarn create strapi-app 
Javascript :: angular component between tags 
Javascript :: document delete element 
Javascript :: react allow only numbers in input 
Javascript :: javascript get last day of month 
Javascript :: set delay react native 
Javascript :: create react native app 
Javascript :: flutter wordspaceing 
Javascript :: javascript get first 10 characters of string 
Javascript :: m- m sequelize 
Javascript :: how to check nan in jquery 
Javascript :: get number of days in a month javascript 
Javascript :: get height component react 
Javascript :: javascript group by property array of objects 
Javascript :: execute code after page load javascript 
Javascript :: javascript check if two date are ugual 
Javascript :: get domain name javascript 
Javascript :: react center a text 
Javascript :: localstorage is not defined 
Javascript :: jquery get today date 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =