The switch statement is a fundamental coding pattern, supported by just about every language. Because JavaScript offers rich of the switch statement. Developers can utilize the switch statement to replace complex if else statements.
source https://love2dev.com/blog/javascript-switch-statement
Tuesday, 13 March 2018
Sunday, 11 March 2018
Extracting Sub-Strings In JavaScript Using SubString, Substr and Slice
The JavaScript String object has three different sub-string extraction methods based on position: substring, substr and slice. They can each be used to extract a string based on position, but operate slightly different. This tutorial demonstrates how each work.source https://love2dev.com/blog/javascript-substring-substr-slice
Saturday, 10 March 2018
Designing for Performance [Book Review]
Recently there have been a wave of good books focusing on web performance optimization. Recently Etsy's Lara Hogan Swanson released a new book, Designing for Pe
source https://love2dev.com/blog/designing-for-performance
source https://love2dev.com/blog/designing-for-performance
Introducing the JavaScript Snake Game Progressive Web App (PWA)
The JavaScript Snake Game PWA is an example with source code demonstrating how to make any web site a Progressive Web App. It also shows how easy it is to prevent the add to homescreen prompt by missing an important detail. Progressive Web Apps are the new standard in delivering client application experiences on mobile and desktop. Any web site can be a PWA.
source https://love2dev.com/blog/javascript-snake-game
source https://love2dev.com/blog/javascript-snake-game
Introducing the Flappy Bird Online Progressive Web App (PWA)
THe flappy bird online progressive web app (PWA) allows you to play this addictive game on any device, even if you are offline!. Play the game and get the source code to see how you can upgrade any web site to a PWA.
source https://love2dev.com/blog/flappy-bird-pwa
source https://love2dev.com/blog/flappy-bird-pwa
Friday, 9 March 2018
How to Render Markup with JavaScript Mustache Template
There are many ways to merge data with templates to render markup. Mustache is a simple, agnostic templating library implementing in many languages. JavaScript allows you to render markup either in the browser or the server.
source https://love2dev.com/blog/javascript-mustach-templates
source https://love2dev.com/blog/javascript-mustach-templates
What Does the Green Padlock Mean? Is This Web Site Safe?
Browser indicate if a web site is secure with a padlock in the address bar. Green means good, right? What does the green padlock mean and how do you know if the web site is safe?
source https://love2dev.com/blog/the-green-padlock
source https://love2dev.com/blog/the-green-padlock
Subscribe to:
Posts (Atom)
