Tag Archives: javascript

javascript programming

What is Transpilation?

Transpilation is the process of converting code written in one programming language to another. Transpilation to JavaScript is a common approach to enabling languages to run in the browser, but often provides limited functionality.

JavaScript – The canvas sin code.

Today’s tutorial is about using canvas with the javascript script with the use of the mathematical sin function. This JavaScript code is simple to understand. Start with the HTML5 source code:

Use this javascript code:

The definition of variables and function sin is easy to understand. The first fillRect will create the area… Read More »

HTML5 – remove outline around input.

This tutorial is about how to remove outline style around input boxes in chrome using CSS. The answer is very simple, use this:

See the Pen Input_remove_outline by Cătălin George Feștilă (@catafest) on CodePen.

JavaScript – How to use geolocation.

Using HTML Geolocation with the javascript programming language is very easy. The example uses the navigator.geolocation and gets all data for your geolocation. Into your HTML page add this javascript:

The result can be found at my codepen account.