Saturday, 13 September 2014

Week 15 : September 8-12 Learning more in JavaScript

Hi!

     We continued typing and discussing the JavaScript methods.


       Here are the pictures of my work. Yes! I've finished it through hardwork and patience. The alert() method displays an alert box with a specified message and an OK button. An alert box is often used if you want to make sure information comes through to the user.



Note: The alert box takes the focus away from the current window, and forces the browser to read the message. Do not overuse this method, as it prevent the user from accessing other parts of the page until the box is closed.


Question: How do I display a user prompt from JavaScript?
Answer: To display a user prompt dialog, use the JavaScript prompt() method:
Returned Value:
The value returned by prompt depends on what exactly the user does with the dialog. If the user types something and then clicks OK or presses Enter, the prompt method returns the user input string. If the user clicks OK or presses Enter without typing anything into the prompt dialog, the method returns the suggested input, as specified in the second argument passed to prompt. If the user dismisses the dialog (e.g. by clicking Cancel or pressing Esc), then in most browsers the prompt method returns null.

Question: How do I display an OK/Cancel dialog box from JavaScript?
Answer: To display an OK/Cancel box, use the confirm() method:
Returned value:
If the user clicks OK, the confirm method returns true. If the user clicks Cancel, the method returns false.

Signing off.

Saturday, 6 September 2014

Week 14 : September 1-5 Always be prepared!

Hi..


          Before we had a quiz, we were typing the JavaScript 2. And we've just surprise, I also think that Sir is kidding but he's not.  Sir arranged our sits and he secured no cheats inside the classroom. I'm glad at least I've got 10 out of 20. haha


        And here is our online quiz. I felt nervous and I don't know how to start it and how to end it. But I got at least 35 points in this kind of online quiz. Its okay because I've learned a lot of it. Thank you.




         Lesson of the Week.


Saturday, 30 August 2014

Week 13: August 25-29 Chill

 Hi!

     Haist. We did an activity and I got it. Yes! I knew it, I've been proved to myself  that I've learned at least one of it. Now, JavaScript is really full of  fun and very interesting. It is not difficult and it is not also easy but it is very enjoyable.



  JavaScript Variables:

    Like many other programming languages, JavaScript has variables. Variables can be thought of as named containers. You can place data into these containers and then refer to the data simply by naming the container.


   Signing off.

Friday, 22 August 2014

Week 12: August 18 - 22 Yeah! JavaScript!!!

Hi!

    We discussed about the JavaScript and we did some activity.


1 .alert()

2 .prompt()
3. confirm()




  • alert outputs a message.




  • prompt outputs a message and waits for user input, then returns the value or null if ESC is pressed.



  • confirm outputs a message and awaits until user presses ok or cancel. The returned value istrue/false  

                    Data Types

TYPE   EXAMPLE
Numbers  Any number, such as 17, 21, or 54e7
Strings  "Greetings!" or "Fun"
Boolean  Either true or false
Null  A special keyword for exactly that – the null value (that is, nothing)                      
  • Numbers - are values that can be processed and calculated. You don't enclose them in quotation marks. The numbers can be either positive or negative.
  • Strings - are a series of letters and numbers enclosed in quotation marks. JavaScript uses the string literally; it doesn't process it. You'll use strings for text you want displayed or values you want passed along.
  • Boolean (true/false) - lets you evaluate whether a condition meets or does not meet specified criteria.
  • Null - is an empty value. null is not the same as 0 -- 0 is a real, calculable number, whereas null is the absence of any value.
Credits from http://sislands.com/coin70/week1/datatype.htm.

      * Pre Tag*
The HTML <pre> tag represents preformatted text. Text within this element is typically displayed in a non proportional font exactly as it is laid out in the file. whitespaces inside this element are displayed as typed.


Picturestakenfrom : https://www.google.com.ph/searchq=pre+tag&source=lnms&tbm=isch&sa=X&ei=xuL6U6DmEY3t8AXtooIQ&ved=0CAYQ_AUoAQ&biw=1024&bih=624#q=pre+tag+in+html5&tbm=isch

Friday, 15 August 2014

Week 11: August 11-15 JavaScript Introduction

      Hi!

General introduction

     The fact that the script is in the HTML page means that your scripts can be seen and copied by whoever views your page. Nonetheless, to my mind this openness is a great advantage, because the flip side is that you can view, study and use any JavaScript you encounter on the WWW.JavaScript is most commonly used as a client side scripting language. This means that JavaScript code is written into an HTML page. When a user requests an HTML page with JavaScript in it, the script is sent to the browser and it's up to the browser to do something with it.

     JavaScript can be used in other contexts than a Web browser. Netscape created server-side JavaScript as a CGI-language that can do roughly the same as Perl or ASP. There is no reason why JavaScript couldn’t be used to write real, complex programs. However, this site exclusively deals with the use of JavaScript in web browsers.

      If you don’t have any programming experience at all it’s best to start with some gentle JavaScript examples that teach you the basics. It might be a good idea to buy Negrino & Smith, “JavaScript for the World Wide Web”, 4th edition, Peachpit Press, 2001. It contains some very useful examples and though it doesn’t treat advanced programming tricks, it will certainly help you get started. Of course this site also offers plenty of help.

      I can also recommend Jeremy Keith, DOM Scripting: Web Design with JavaScript and the Document Object Model, 1st edition, Friends of Ed, 2005. This, too, is a book that doesn't delve too deeply into technology, but gives non-programmers such as graphic designers/CSS wizards an excellent overview of the most common uses of JavaScript - as well as the most common problems.

Credits from http://www.quirksmode.org/js/intro.html.

Here are examples we did in JavaScript.

 Haist... JavaScript is really exciting..Love it...





Week 10: August 4 - 8 Exam!!!

  Hi!


      We  checked our folders and some of my files were marked incorrect location. After that, we took our 1st periodic exam and I got 14 only. How sad? I know right. But the truth, I was very disappointed on the result of my exam. I'm okay already.


  Haist...Some questions are all about tags  and measurement such as cellspadding, headings and others. Actually, I don't know what would I answer I just  tried my best but it was'nt enough. Haha. It's okay at least I've learned about html.

Friday, 8 August 2014

Week 9: July 28 - August 1: Busy!!!

Hi!
 

         We discussed about the Blog Rubric.



Blog Peer Rating Reminders:

1. To ensure objective ratings, ratings should be based on the rubic.
2. Posts should be at least eight(8) otherwise the lowest point shall be given.
3. No blog means no point.
4. Accomplish blog rating worksheet.
5. Fill out blog rank and feedback form.
6. All computations should be accurate: total, average and rank othewise 5 points will be deducted from your blog final rating.
7. Al ratings will be checked by your ICT teacher for errors and unusual entries. Final rating will be given by your
ICT teacher.


         Haist..I'm very busy in this blog ranking sheet and even though the blog ranking feedback. I'm very busy and very tired in this blog. But it is not easy because I need to check my computation and even the ranking. I've really checked my ranking sheet because if my ranking is wrong I will be marked minus 5. So, I must be careful of it. I need to work more and double my efforts. I can do it. More hardwork and efforts! Just believe in yourself. Yeah! Finally, I finish it. haha. Thanks God.

 



signing off...
Hi!

     We continued typing and discussing the JavaScript methods.


       Here are the pictures of my work. Yes! I've finished it through hardwork and patience. The alert() method displays an alert box with a specified message and an OK button. An alert box is often used if you want to make sure information comes through to the user.



Note: The alert box takes the focus away from the current window, and forces the browser to read the message. Do not overuse this method, as it prevent the user from accessing other parts of the page until the box is closed.


Question: How do I display a user prompt from JavaScript?
Answer: To display a user prompt dialog, use the JavaScript prompt() method:
Returned Value:
The value returned by prompt depends on what exactly the user does with the dialog. If the user types something and then clicks OK or presses Enter, the prompt method returns the user input string. If the user clicks OK or presses Enter without typing anything into the prompt dialog, the method returns the suggested input, as specified in the second argument passed to prompt. If the user dismisses the dialog (e.g. by clicking Cancel or pressing Esc), then in most browsers the prompt method returns null.

Question: How do I display an OK/Cancel dialog box from JavaScript?
Answer: To display an OK/Cancel box, use the confirm() method:
Returned value:
If the user clicks OK, the confirm method returns true. If the user clicks Cancel, the method returns false.

Signing off.

Week 15 : September 8-12 Learning more in JavaScript

Saturday, 13 September 2014
Posted by Unknown
Hi..


          Before we had a quiz, we were typing the JavaScript 2. And we've just surprise, I also think that Sir is kidding but he's not.  Sir arranged our sits and he secured no cheats inside the classroom. I'm glad at least I've got 10 out of 20. haha


        And here is our online quiz. I felt nervous and I don't know how to start it and how to end it. But I got at least 35 points in this kind of online quiz. Its okay because I've learned a lot of it. Thank you.




         Lesson of the Week.


Week 14 : September 1-5 Always be prepared!

Saturday, 6 September 2014
Posted by Unknown
 Hi!

     Haist. We did an activity and I got it. Yes! I knew it, I've been proved to myself  that I've learned at least one of it. Now, JavaScript is really full of  fun and very interesting. It is not difficult and it is not also easy but it is very enjoyable.



  JavaScript Variables:

    Like many other programming languages, JavaScript has variables. Variables can be thought of as named containers. You can place data into these containers and then refer to the data simply by naming the container.


   Signing off.

Week 13: August 25-29 Chill

Saturday, 30 August 2014
Posted by Unknown
Hi!

    We discussed about the JavaScript and we did some activity.


1 .alert()

2 .prompt()
3. confirm()




  • alert outputs a message.




  • prompt outputs a message and waits for user input, then returns the value or null if ESC is pressed.



  • confirm outputs a message and awaits until user presses ok or cancel. The returned value istrue/false  

                    Data Types

TYPE   EXAMPLE
Numbers  Any number, such as 17, 21, or 54e7
Strings  "Greetings!" or "Fun"
Boolean  Either true or false
Null  A special keyword for exactly that – the null value (that is, nothing)                      
  • Numbers - are values that can be processed and calculated. You don't enclose them in quotation marks. The numbers can be either positive or negative.
  • Strings - are a series of letters and numbers enclosed in quotation marks. JavaScript uses the string literally; it doesn't process it. You'll use strings for text you want displayed or values you want passed along.
  • Boolean (true/false) - lets you evaluate whether a condition meets or does not meet specified criteria.
  • Null - is an empty value. null is not the same as 0 -- 0 is a real, calculable number, whereas null is the absence of any value.
Credits from http://sislands.com/coin70/week1/datatype.htm.

      * Pre Tag*
The HTML <pre> tag represents preformatted text. Text within this element is typically displayed in a non proportional font exactly as it is laid out in the file. whitespaces inside this element are displayed as typed.


Picturestakenfrom : https://www.google.com.ph/searchq=pre+tag&source=lnms&tbm=isch&sa=X&ei=xuL6U6DmEY3t8AXtooIQ&ved=0CAYQ_AUoAQ&biw=1024&bih=624#q=pre+tag+in+html5&tbm=isch

Week 12: August 18 - 22 Yeah! JavaScript!!!

Friday, 22 August 2014
Posted by Unknown
      Hi!

General introduction

     The fact that the script is in the HTML page means that your scripts can be seen and copied by whoever views your page. Nonetheless, to my mind this openness is a great advantage, because the flip side is that you can view, study and use any JavaScript you encounter on the WWW.JavaScript is most commonly used as a client side scripting language. This means that JavaScript code is written into an HTML page. When a user requests an HTML page with JavaScript in it, the script is sent to the browser and it's up to the browser to do something with it.

     JavaScript can be used in other contexts than a Web browser. Netscape created server-side JavaScript as a CGI-language that can do roughly the same as Perl or ASP. There is no reason why JavaScript couldn’t be used to write real, complex programs. However, this site exclusively deals with the use of JavaScript in web browsers.

      If you don’t have any programming experience at all it’s best to start with some gentle JavaScript examples that teach you the basics. It might be a good idea to buy Negrino & Smith, “JavaScript for the World Wide Web”, 4th edition, Peachpit Press, 2001. It contains some very useful examples and though it doesn’t treat advanced programming tricks, it will certainly help you get started. Of course this site also offers plenty of help.

      I can also recommend Jeremy Keith, DOM Scripting: Web Design with JavaScript and the Document Object Model, 1st edition, Friends of Ed, 2005. This, too, is a book that doesn't delve too deeply into technology, but gives non-programmers such as graphic designers/CSS wizards an excellent overview of the most common uses of JavaScript - as well as the most common problems.

Credits from http://www.quirksmode.org/js/intro.html.

Here are examples we did in JavaScript.

 Haist... JavaScript is really exciting..Love it...





Week 11: August 11-15 JavaScript Introduction

Friday, 15 August 2014
Posted by Unknown
  Hi!


      We  checked our folders and some of my files were marked incorrect location. After that, we took our 1st periodic exam and I got 14 only. How sad? I know right. But the truth, I was very disappointed on the result of my exam. I'm okay already.


  Haist...Some questions are all about tags  and measurement such as cellspadding, headings and others. Actually, I don't know what would I answer I just  tried my best but it was'nt enough. Haha. It's okay at least I've learned about html.
Hi!
 

         We discussed about the Blog Rubric.



Blog Peer Rating Reminders:

1. To ensure objective ratings, ratings should be based on the rubic.
2. Posts should be at least eight(8) otherwise the lowest point shall be given.
3. No blog means no point.
4. Accomplish blog rating worksheet.
5. Fill out blog rank and feedback form.
6. All computations should be accurate: total, average and rank othewise 5 points will be deducted from your blog final rating.
7. Al ratings will be checked by your ICT teacher for errors and unusual entries. Final rating will be given by your
ICT teacher.


         Haist..I'm very busy in this blog ranking sheet and even though the blog ranking feedback. I'm very busy and very tired in this blog. But it is not easy because I need to check my computation and even the ranking. I've really checked my ranking sheet because if my ranking is wrong I will be marked minus 5. So, I must be careful of it. I need to work more and double my efforts. I can do it. More hardwork and efforts! Just believe in yourself. Yeah! Finally, I finish it. haha. Thanks God.

 



signing off...

Week 9: July 28 - August 1: Busy!!!

Friday, 8 August 2014
Posted by Unknown
 

Blog Template by YummyLolly.com - Header made with PS brushes by gvalkyrie.deviantart.com
Sponsored by Free Web Space