Wednesday, February 18, 2015

Week 36- Exercises+js5quiz(February 16-20)

T.L.E is fun! :) jk. For this week, we make a lots of Exercises and also we tackled about our last quiz in JavaScript 5.

Please understand the pictures. 
Let the pictures explain it to you.


If you want to encode it just to  make sure if it's correct then go and encode it. Sorry for not  uploading the result of these pictures.

Exercise 3


Exercise 4








Let me explain or should I say let me share my life while I'm thinking about this quiz. 


This quiz is not easy, this is a serious quiz. 2 hours before our T.L.E begin. I'm just thinking if I can make it, I doubt. I took a deep breathe then smile :) Nothing is Impossible- that's on my mind. In the end I got 53 out of 75. Not bad :)






  Syrell Calabag, signing off..



Week 35- hi (February 10-13)


We've just done now in typing in JavaScript 5.

Recursion
  •  is a general programming concept, not at all restricted toJavaScript, but it is a very useful concept to understand. It involves calling a function from within that same function.

And ye. We make a Exercise in Friday. Just understand the pictures below. :D



https://www.google.com.ph/?gfe_rd=cr&ei=Pcj8VNffMMaJ8QfE6oCoDg&gws_rd=ssl#q=what+is+recursion+in+javascript

  Syrell Calabag, signing off..

Wednesday, February 11, 2015

Week 34-New lesson(February 3-7)

Hey stalker!


What is Function?

       Functions are one of the fundamental building blocks in JavaScript. A function is a JavaScript procedure—a set of statements that performs a task or calculates a value. To use a function, you must define it somewhere in the scope from which you wish to call it.

Defining functions

function definition (also called a function declaration) consists of the function keyword, followed by:
  • The name of the function.
  • A list of arguments to the function, enclosed in parentheses and separated by commas.
  • The JavaScript statements that define the function, enclosed in curly brackets, { }.


A simple Function



Passing Argument

If you click the OK,
this will display on your screen. 

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions

Syrell Calabag, signing off..

Saturday, February 7, 2015

Week 33-Blessing(January 26-30)

       Sir Peralta declared that we will be having our quiz. I am now thinking what we have learn in the previous lesson but I just can't remember. HAHA. I only got 5 points over 79. I'm still happy for that because it's still a blessing. 

Thanks to Myra for this photo.

     













  As you can see, the prompt box will display. If you answer b, it will appear in the screen saying that "The Mexican menu will be brought to your table". After that another prompt will display again and asking you "Do you want to add another choice?" And if you answer yes then you will choose again.

Thanks to Nadia for this photo.














Syrell Calabag, signing off..

Week 32-30 minutes in 1 week(January 19-23)

We don't have ICT class for three days. Haha this is heaven. In friday, I just encode the Exercise 1 and 4. 

Let the picture explain it to you. HAHAjk





First: As you can see , the While Loop will display in the screen. Second: The prompt box will appear and asking "Who developed JavaScript?". Third: If you answer the word 'netscape',  the alert box will appear and saying that "netscape is correct. Fourth: But if your answer is wrong then it's wrong and the alert box won't stop appearing until you answer it correct.

Syrell Calabag, signing off..

Week 31-2(January 12-16)

       We have a lots of output to do and as you can see it below, it is really hard. And guess what? I got no point because I really don't know what to do. And because it is hard to make it and it is impossible for me to make it, I decided to surf the net and not to do it. 

Exercise 2
And here is the given

And here are the codes of Exercise 2

And this is the result

Week 30-Not ready(January 5-9)

       And yes, I'm  facing the reality that the vacation is over. Sir Peralta gave us an activity which is I dont know. Well, my memory is in the Christmas vacation and I really can't move on. 

    We must create a while loop that will display the number 10 9 8 7 6 5 4 3 2 1. And because we don't understand what we're going to do, Sir Peralta revealed the codes of Exercise 1 and we just encode it.


Exercise 1

Syrell Calabag, signing off..