Posted by : jody baharizki Thursday, September 29, 2011

       *
      ***
    *****
  *******
*********
  *******
    *****
      ***
        *
 mau bikin kayak gini?, gampang kok
lo tinggal copas ni codding di bawah ini :
chekitdot !!!


<html>
<head>
<title>No 1</title>
</head>
<body>
<script type="text/javascript">
<!--
var bil= 5;
bil=parseInt(bil);

for(i=bil;i>0;i--){
for(j=1;j<=i-1;j++){
document.write('&nbsp&nbsp');
}

for(y=1;y<=bil-i+1;y++){
document.write('*');
}

for(l=1;l<=bil-i;l++){
document.write('*');
}
document.write('<br>');
}

for(i=1;i<=bil;i++)

{
for(j=1;j<=i;j++){
document.write('&nbsp&nbsp');
}

for(y=1;y<=bil-i;y++){
document.write('*');

}

for(l=1;l<bil-i;l++){
document.write('*');
}
document.write('<br>');
}B
//-->
</script>
</body>
</html>
 
 
kalo elo udah paham lo bisa ngerubah tu bentuk, lo coba dulu
tar gue kasih tutorial selanjutnya ya,,
ditunggu 

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Psang Iklan?

Psang Iklan?
Klik gambar diatas

Like Us!

Youtube

\
\

Labels

Powered by Blogger.

Total Pageviews

- Copyright © 2016 Jody Baharizki -@jodybaharizki- Powered by Blogger -