Posts

Showing posts from November, 2016

Lab 3-Journal Reflection

Image
                           The objective of this was to create a button activated prompt which would ask the user what their name would be. In return, it would then give another prompt according to the user's response and display a statement unique to the user's defined choice. The prompt element is used to interact with the user in a way that it seems natural to the user to communicate to a computer directly through typing. This is a specific type of code which I find preferable because of the flexibility of how the code can be manipulated and applied to communicate to the user. For instance, by creating an intractable game between the user and the computer, it can lead to a more user-friendly webpage with gaming functionalities.                 The prompt code can come in handy when dealing with situations that concern personal assessments of the user. By doing so...

Lab 4- Journal Reflection

Image
                       The objective of this lab was to imitate what we did on our JavaScript worksheet by actually executing the code and inputting the given examples on the given worksheet to Dreamweaver. Most of the questions were mostly involved with a mix of html and JavaScript. But most questions incorporated the use of a button id element to activate the JavaScript to show just how effective the code is. Also, there were other elements of JavaScript such as the JavaScript comments and string values as well array values. Through the use of JavaScript, I've come to an understanding that JavaScript not only makes coding significantly easier but it also enhances the webpage further by providing a wider perspective and option for the computer to operate and memorize better than without JavaScript.            These skills will be necessary to make better websites from scratch as well as ...

LB5-Journal Reflection

Image
                              The objective of this lab was to create a rock, paper, scissors game though the use of JavaScript. This lab was specifically a challenge due to the troublesome errors that're associated with such game specifically with the JavaScript. With the experience of code Academy, I've learned that code Academy teaches JavaScript on a different level which is the basics which don't correspond with what we used in this lab. The Javascript used was from a reference website that's not from w3schools.com. Since the refereed website is much more detailed when it discusses the code for the rock, paper, scissors game; it was wise to refer to this website. The Javascript is actually a bit more complicated but by interpreting it on an advanced level, I've acknowledged the game and its process of making it.                   By completing this lab, Javas...

Switch Statements and Javascript Loops-Journal

Image
 This Exercise shows how switch statements are used for complicated and open choices to where there are set values defined by the user.     This exercise shows how the switch statements can be used to incorporate set answers or responses This exercise shows how the default statement makes a big difference in how the undefined value is given a value.         This is the basic use of the switch statements in which a selected input is applied and returns the appropriate value as a statement or string. This exercise shows how loop statements can be used to limit and repeat certain conditions through a defined expression of JS code. This exercise shows how the i is defined by starting from 10 and counting downwards to 1.  This exercise shows how the i was defined to start from 5 and go towards to 9 by repeating the variable i to reach that number.  This exercise shows how the i has been defined to count by 5s for every i...

Lab 1-Journal Reflection

Image
                                The objective of this lab was to incorporate Javascript elements into our first lab to introduce the readers and ourselves to Javascript. We also discussed about ourselves and how we personally feel about obtaining a CTE diploma in web design. By obtaining a CTE diploma, I can pursue a future which can lead to a career in computer engineering and can land a successful job in the future with the help of web design. Anyhow, by completing this lab, it gave a refresher of the html coding that was done last year as well as css that was used for every lab up until now and for future assignments.                     For our use of javascript for the very first time, it was not as bad since we were referring to w3schools.com. As such, this lab was very efficient way to refer to our past experience to establish a web page of signif...

Javascript if/else Statements

Image
When dealing with numbers, if/else statements are just as easy as doing math as shown above. The difficulty level can be applied here as well since all that's being done is replacing variables. The purpose of this statement is to prove that the expression is true to get to the result which is "Well Done!". Here is a statement also showing how math is used in Javascript with the use of the response code"document.getElementById("demo").innerHTML =". This statement shows how if the the time for expression is wrong then it'll jump to the else statement changing the result to correct the expression.