Posts

Showing posts from March, 2018

Lab 19 Reflection

Image
Lab 19 is extremely similar to lab 18, from the surface, it is difficult to distinguish the two. However, there is a difference, previously, the code would reset the result when a new button was clicked. In this lab, the result after a operation stays the same and would basically replace the first number, so the result would change from the usual operation. Because there is a slight change in the appearance, there is a slight change in the code; instead of the functions for the operations creating new variable for the numbers, the variable for the first number would be global. It was very interesting how modifying a tiny piece of code can change the function of the code significantly. Also it was an opportunity to improve on my base format since it was a simple modification to the code.

Lab 18 Reflection

Image
For lab 18, it was the first time we are introducing arithmetic operations. The lab was basically creating a calculator that could perform addition, subtraction, multiplication, division, and modulation. To make it so the user can input any numbers they want, I had to create input bars and assign them as a variable in order to carry out the operation. Functions had to be created for each operation in order for the code to execute correctly. Again I used the format from the previous labs except this time there had to be more input bars and buttons to accompany the increase in operations. Creating a functional calculator was difficult, but for me it was more difficult figuring out the best method to show the results. I settled for using a similar method as lab16 which was setting the buttons so when clicked it changes the text of a paragraph, in this case it would change it to the result of the operation. This lab was good practice in using arithmetic operations and coding that will lay

Lab 17 Reflection

Image
Lab 17 was creating input bars using JavaScript where the user can put information such as their name or email. After the information is submitted, an alert window would pop up with a little message. For example, my lab consisted of the user entering their name, phone, and email. Then after the user  clicked the go button, a small window would appear restating the person's information. This lab was an introduction into inputs and window alerts. To complete this lab, I used Dreamweaver and the code was very similar to lab16 because I used the base format created for lab16. However, for this lab, I had to use onClick="Window.alert" which would actually initiate the alert window with the message. Just like any other piece of code, it had to be precise which made it difficult because JavaScript is more complex. Learning JavaScript has made me pay more attention to detail because now more than ever, there are more opportunities to mess up the code. The alert window is a usef

Lab16: My First JavaScript

Image
This lab was the very first time we implemented JavaScript into our webpages. While we have been practicing JavaScript on code.org, that was the only platform we used. Now for the first time our website have HTML, CSS, and JavaScript. It may not be complex JavaScript, but it is a small step as an introduction. The lab was just create a button that when pressed would change the contents of the paragraph written. We also create a base format for our webpages so wouldn't have to keep repeating the same long process of writing the basic html codes. The button was quite easy to create because all that was needed to be done was to create a button tag inside a script tag. The script tag specifies that whatever inside the tag is pure JavaScript and the button tag is exactly was the name entities, a button. It was small step, but I suppose we will build off these skills until we eventually get into complex JavaScript.

Good Morning America Trip

Image
My school offered an amazing opportunity for the CTE Academy, we were offered to be on Good Morning America to meet Bill Gate. Of course this is an exciting opportunity there was one drawback to this trip, i order to make it on the show(which was live tv), we had to wake up at 4 o'clock in the morning in order to arrive at the studio at 6. However, many students still went, including myself.  Something that was unexpected was not only was Bill Gates gonna be there but also his wife, Melinda Gates, Michael B. Jordan, and other famous people. Of course, since we were going to represent our school on live tv, we had to dress very nicely. When we arrived at the studio, we were told that WE were also going to be on live tv and even some of us would be asking questions are participating in the various events on the show. It was an unforgettable experience, and at the end of the show we were given free tickets to watch Black Panther which just came out at the time.

Lab15: Color Sleuth

Image
This lab is actually a very simplistic app designed for phones. The app was called the ColorSleuth that is just game with four squares, with three being the same color and one being a different shade of the same color. The purpose of the game is to find the square that is the different color and you are rewarded points or deducted points based on your choice. While this may not seem like the most exciting game, it was very difficult to code the game in order for it to work. The app is also designed for two players which adds an extra layer in the coding process. The purpose of this lab was to implement what we learned so far in javascript to making an actual app. It was a blessing that we created the app on code.org because it gave step by step instructions in the javascript code needed. There were a lot pf variable that needed to be created as well as function to manage the complexity of the code. The use of if-else statements was also essential to the functionality of the app. The

CTE Expo 2018

Image
 The CTE Expo is an event where freshman come to experience the different academies offered in my school which are the Web or Video Academy. Since I am a part of the Web academy, the class for that day was to sell the academy to freshman. We wanted to give freshman the opportunity to learn about the Web Academy in order for them to make an informed decision whether they join Web or Video. The classroom was set up so the freshman would have the opportunity to explore the skills learned in sophomore, junior, and senior year. Our job, as juniors was to prepare to present our website and app. We have been working on the website for the entirety of the year, but the app was only focused for about 2 weeks. Nevertheless, each junior presented a unique game intended to interest the freshman.          The plan was for each sophomore, junior, and senior to present their work to freshman and as a response the freshman would become interested and ask questions. However, what actually happened was