This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Introduction | |
In this tutorial , we are going to create a basic calculator. We need to create a basic structure using Hypertext Mark Language(HTML) , style it using Cascading Style Sheet(CSS) and make it work using JavaScript! . | |
Let's Start | |
First we create an HTML Document: This will comprises both our CSS and JavaScript Code, | |
(That's is all in a single page). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<body> | |
<canvas id="canvas" width="400" height="400" | |
style="background-color:#333"> | |
</canvas> | |
<h2>Analog Clock</h2> | |
<script> | |
var canvas = document.getElementById("canvas"); |