Welcome! =D

Welcome to this page, KPOP World In Me.

Basically, this page is for my college purpose.

Last year (2013), I was required to create a blog and to talk about the things I like. Therefore, I promoted South Korea, and that was my topic for the assignment. To view them, checkout the sidebar, under the "My Previous Project" section.

As of this year (2014), for IT-subject, I was asked to create a blog again. So, I thought that I might as well use this existing blog and fortunately, my lecturer allowed me to do so.

In summary, all I want to say is that this is NOT a personal blog. Although the website is called "KPOP World", but it will contain non-KPOP related topics...

That is all from me. Happy reading~~ ^^

P/S - I found out that you need to refresh the page whenever you first open the page. This is to get the correct fonts that I've set for this page.

Thursday, March 20

Tutorial 11

Question 1.1)

<html>
    <body>

    <script type="text/javascript">
       
        var count=prompt("Input your character");
   
        for ( i=0 ;  i<=10 ; i++)
                document.write (count);
               
   </script>
    </body>
</html>



Question 1.2)

<html>
    <body>

    <script type="text/javascript">
 
    var i=0;
    var count1=prompt("Input your character");
    var count2=prompt("Input your character");
   
   
    while (i<=5) {
        document.write (count1);
        document.write (count2);
        i++;
    }
    </script>
    </body>
</html>
   
Question 1.3)

<html>
    <body>

    <script type="text/javascript">

        var count1=prompt("Input your integer");

        for (var i=1 ; i<=12 ; i++)
            document.write(count1+" x "+i+" = " + (count1*i) + "<br>");

    </script>
    </body>
</html>

No comments:

Post a Comment