Skip to content

Instantly share code, notes, and snippets.

View fataelislami's full-sized avatar
🏠
Working from home

Fata EL Islami fataelislami

🏠
Working from home
View GitHub Profile
<html>
<head> </head>
<body>
<script>
document.write('Hello World');
</script>
</body>
</html>
program edankeun;
var
text:string;
number:integer;
begin
text:='this is Text with Edankeun Style';
number:=99;
writeln(text);
<html>
<head></head>
<body>
<script>
var text='this is text'; //You Dont need to choose type data such as String Integer etc.
var number=99;
@fataelislami
fataelislami / math.html
Created March 28, 2017 13:31
Example of Math Operator
<html>
<head></head>
<body>
<script>
var a=10;
var b=5;
var addition=a+b;
var substraction=a-b;
var multiply=a*b;
<html>
<head></head>
<body>
<script>
var x=12;
if (x>10) {
alert("Hello World");
}
</script>
<html>
<head></head>
<body>
<script>
for(var i=1;i<=10;i++){
document.write("this is number = "+i,"</br>");
}
</script>
</body>
</html>
<html>
<head></head>
<body>
<script>
var i=0;
while(i<=10){
document.write("This is Loop with 10 Times </br>");
}
</script>
</body>
<html>
<head></head>
<body>
<script>
var i=0;
do{
document.write("Hello World </br> "+i);
i++;
}
while(i<=10);
<html>
<head></head>
<body>
<script>
function hello(){
document.write("Hello World with Function");
}
hello(); //Call function Hello
</script>
<html>
<head></head>
<body>
<script>
function edankeunFunct(name){
document.write("Hello "+name);
}
edankeunFunct("Your Name");
//Example