Is localStorage fx .javascipt or html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is localStorage fx .javascipt or html

storage in browser

12th Feb 2018, 6:09 PM
[No Name]
2 Answers
+ 2
html
12th Feb 2018, 8:39 PM
Tim Millar
Tim Millar - avatar
+ 2
localStorage is an Html API (Application Programming Interface), meaning that's an Html feature accessible through JavaScript code (outside web browser context you cannot use localStorage functionnalities, but JS is required to use it in such context)... Anyway, localStorage is NOT available in webview context (that is, in android app' context, such as sololearn code playground in app -- but works in web site).
13th Feb 2018, 3:16 AM
visph
visph - avatar