Html5 Canvas

How To Fix Canvas.getContext Is Not A Function Javascript Error

I wrote an Html file that contains some javascript code. It is an Html5 file, so I add a canvas in the Html source code and get the canvas context object with the code move_canvas.getContext(‘2d’);. But when I browse the Html5 file in a web browser, it shows the error message Uncaught TypeError: move_canvas.getContext is

How To Fix Canvas.getContext Is Not A Function Javascript Error Read More »

How To Use Html5 Canvas & JavaScript To Implement The 404 Page Of The Snowflake Screen

This article will show you an example of how to use the Html5 canvas object + javascript to implement the 404 file not found error page with snowflakes on the screen. The sentence on the page is 404 File Not Found which has green color. The text will change it’s transparency value periodically to make

How To Use Html5 Canvas & JavaScript To Implement The 404 Page Of The Snowflake Screen Read More »