32
            
            votes
        
        
            
        How is localStorage different from indexedDB?
                    @yannis answer is excellent.  Just want to add a couple of things.
In a few situations, like Service Workers, you cannot use blocking code, hence, you cannot use localStorage, and must use something ...
                
            
       
        
            
                16
            
            votes
        
        
            
            
        How is localStorage different from indexedDB?
                    For me, I found that I can store blobs in IndexedDB while in localStorage I can store strings only. It is mean that IndexdDB is better for binary data like images, audio, video. Yes we can store ...
                
            
       
        
            
                8
            
            votes
        
        
        How can a html 5 game made licensed?
                    The usual solution is to put part of your game logic on a server somewhere and have your game communicate with it using AJAX or similar.
In the server code you can check for license keys.
In short, ...
                
            
       
        
            
                6
            
            votes
        
        
        can two web browser tabs be distinguished in a single-page application?
                    Session storage is tab specific (i.e. not shared across tabs). So you can check session storage for a given key value, create it if it doesn't exist, and include it in any requests you send to your ...
                
            
       
        
            
                6
            
            votes
        
        
        HTML5 localStorage and encrypted sensitive data
                    I'm looking for a way to have a website remember sensitive data, but without actually storing it server side.
Use the server to store encrypted data, there is no reason to use localStorage. It is ...
                
            
       
        
            
                4
            
            votes
        
        
            
        synchronize HTML5 or JavaScript video to realtime?
                    Anytime you need to synchronize devices, you want one central controller instructing the devices what to do. This is just as true for mobile phones playing a video as it is the lights. I know one ...
                
            
       
        
            
                4
            
            votes
        
        
        Why was Google Maps built using canvas? If it was built today, would it have rather used react/angular? Why (not)?
                    Any map based application will use Canvas, SVG or WebGL for actually drawing the map and it is orthogonal to using Angular or even page being SPA at all. Look at frameworks like https://openlayers.org/...
                
            
       
        
            
                3
            
            votes
        
            
                
                Accepted
            
        
            
        What are the points of apps like Sketch and Photoshop when it comes to Web Development?
                    Web design consists of two aspects: designing a site, and implementing it. You are used doing both together, but it can often be sensible to separate them. For example, you might use a wireframe to ...
                
            
       
        
            
                3
            
            votes
        
        
            
        Prefixing a number with + on html inputs
                    That depends on:
The purpose of the input field.
What an User expect the page. (User Experience standpoint)
Lets discuss an example:
For an e-shop page does not make sense to deal with negative ...
                
            
       
        
            
                3
            
            votes
        
        
            
        Are there standards for handling card swipers in applications?
                    Not really, no. At least, not outside of the fact that there are three tracks to read from, and each has a maximum number of bytes they can hold.
While there are standards that are followed, it's ...
                
            
       
        
            
                3
            
            votes
        
        
            
            
        Why is Web SQL database deprecated?
                    Just posting to let you know that
just because WebSQL is deprecated/removed/unsupported in all the crappy browsers, you don't need to use IndexedDb. 
You can use SQLite via WebAssembly or JS-...
                
            
       
        
            
                2
            
            votes
        
        
        System architecture design advice
                    You might want to think about creating a Progressive Web App(PWA). It is a web page that has some functionality of an app when it comes to limited to now connectivity. You can run it on a desktop ...
                
            
       
        
            
                2
            
            votes
        
            
                
                Accepted
            
        
            
        Using the symbol ⎋ to denote any "escape" in Javascript, CSS, HTML etc
                    The name of the escape key and the phrase "escape character" are certainly linked, but I think you are stretching the definition to cover your use case.
The "escape" key on keyboards is so called ...
                
            
       
        
            
                2
            
            votes
        
        
            
        Using the symbol ⎋ to denote any "escape" in Javascript, CSS, HTML etc
                    A keyboard provides symbols. It is up to the software running on the computer to interpret them and respond with an action.
The original intent of the Escape key is basically the same as the purpose ...
                
            
       
        
            
                2
            
            votes
        
            
                
                Accepted
            
        
            
            
        can two web browser tabs be distinguished in a single-page application?
                    You may create a unique ID (for example a UUID) at the client or let the server create it (and send it to the client at some occasion).
Each request at which the server needs to discern the ...
                
            
       
        
            
                1
            
            vote
        
        
            
        Using the symbol ⎋ to denote any "escape" in Javascript, CSS, HTML etc
                    Re-thinking my approach (included for the sake of completeness):
After reflecting on @Bart van Ingen Schenau's comment:
This is the first time I encountered the ⎋ symbol in my forty-odd years.
and ...
                
            
       
        
            
                1
            
            vote
        
            
                
                Accepted
            
        
            
        Storing session state in browser's local storage
                    Almost everything is a balancing act between performance, usability, maintainability. That said...
  
  What's the difference between storing session state on the client versus the server?
  
Where ...
                
            
       
        
            
                1
            
            vote
        
        
            
        Best practices for positioning elements in an HTML-based game
                    It'd be nice if this used some kind of grid-based system so that it
  would automatically scale to arbitrary window sizes without the
  program manually calculating pixel widths and so forth.
Tetris ...
                
            
       
        
            
                1
            
            vote
        
        
            
        can two web browser tabs be distinguished in a single-page application?
                    Scopes (lifetimes)
Request scope
all info is give as request parameters
Session scope
a session is maintained, probably by cookie
Application scope
(irrelevant) info is maintained globally
For tabs ...
                
            
       
        
            
                1
            
            vote
        
        
        Is it a good idea to use width and height properties with the < td > tag?
                    You can use Mediaquery in css,using media query you can specify condition for displaying view in particular display size.
A media query is a logical expression that is either true or false. A media ...
                
            
       
        
            
                1
            
            vote
        
        
        Is it a good idea to use width and height properties with the < td > tag?
                    According to me, It is not a good practice for the perspective of responsiveness of the web page. When you will downgrade the size of the device it may not look perfect as of now. So, better you ...
                
            
       
        Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
html5 × 185javascript × 66
html × 32
web-development × 21
canvas × 19
css × 17
web-applications × 14
silverlight × 11
jquery × 8
ios × 7
mobile × 7
css3 × 7
xhtml × 7
semantics × 6
android × 5
game-development × 5
flash × 5
markup × 5
java × 4
c# × 4
.net × 4
programming-languages × 4
validation × 4
local-storage × 4
architecture × 3
 
         
         
         
         
         
         
         
         
         
        