How To Choose High Performance AWS EC2 Instance Type For You To Run Faster
When I use the amazon AWS ec2 virtual machine, I always find the virtual machine runs too slow. I open the task manager and found that the CPU usage always reaches 100%, this is the root cause of the slow VM. But at last, I find the real reason is because of the AWS EC2 …
How To Choose High Performance AWS EC2 Instance Type For You To Run Faster Read More »
How To Implement Sprite Sheet Animation Using Javascript & Pure CSS
When your JavaScript application needs a lot of images, you may find it will cost so much time to download all those images. Downloading each image will create an HTTP request to your web server, and this will reduce your server performance very much for large HTTP requests. This example will tell you how to …
How To Implement Sprite Sheet Animation Using Javascript & Pure CSS Read More »
How To Use Keyframe Animation In CSS
Through CSS3, we can create animation, which can replace animated pictures, flash animation, and JavaScript on many web pages. What you need to do is to define the animation rule using the @keyframes keyword with a given name, and then assign the animation to an Html element’s animationName CSS style attribute. This article will tell …
How To Disable Enable Button After One Click In Javascript
If you want to disable/enable a button after clicking the button in JavaScript, you can use the button element’s disabled attribute. When you set the button’s disabled attribute’s value to true, then the button will be disabled. When you set the button’s disabled attribute’s value to false, then the button will be enabled. This article will …
How To Disable Enable Button After One Click In Javascript Read More »
Javascript Substring Vs Substr Vs Slice
There are 3 JavaScript functions that are used to process string variable, they are substring(startIdx, endIdx), substr(startIdx, numberOfCharactors), slice(startIdx, endIdx). If you are a JavaScript beginner, you may confuse about the usage of the 3 functions, this article will tell you the difference between them with examples.