Friday, November 13, 2015

Lab #9

      For this Lab #9 we had to make two buttons that would change the background of the webpage from day to night. We also had to display the current date and time on the webpage. To do this first I used Adobe Photoshop CS6 to make the backgrounds of the page. This was pretty straight forward because I just made a night time scene and a day time scene. After doing this we had to use the day time image as the background of the webpage. Then when we the night button was pressed the background of the page would turn into a night scene.

     To have the current date and time displayed on the webpage I used the function UpdateTime and UpdateDate which gets the current date and time from the computer being used and displays it to the user. I used the script tag to make the buttons work and change the background. This lab will help me in my future because it has helped me understand JavaScript more and has gave me more practice with it. Also it helped me use my photoshop skills to make the background which is always good to use in my work.

Lab #8

      For this Lab #8 we had to make a table of al the prime numbers between 1 and 1000. This lab was confusing at first because it was only a chart and it had to do with JavaScript. The  class is still fairly new to Javascript so that it was makes the lab a little more complicated. In order to complete this lab we needed a table first to put the prime numbers inside. This was part of the HTML code and inside I inserted the code to link the JavaScript file to the Html file. By doing this all the prime numbers would be in the table.

     In the JavaScript file we used the function findPrime to get the prime numbers. We also used e<1000 so that we would only get the prime numbers that are less than 1000. Using these functions was very hard to trouble shoot because you aren't sure what the problem is in the code. Also, one little mistake can make the whole thing not work which makes you really focus on everything that you type. This lab can help me in my future because it gives me more experience with Javascript and also troubleshooting my mistakes helps.

Thursday, November 5, 2015

West Point Reflection

     West Point was a very good experience because as a class we saw many things that we wouldn't see everyday. Although the ride was pretty long, it was worth it because the campus was really big and beautiful. When we got there we got our name tags and then went into the auditorium. There we were greeted and they informed us about the history of West Point and the type of school it was. After this they had displays set up of different things that they learn there like drones and communication systems. This was very interesting to see and learn about how they work. They also had a table in where they gave us free  bags, flash drives, folders, and note pads. We then had lunch in a classroom and got to talk to the students more about their school. After eating we had a nice long tour of the whole school, the baseball field was really nice and neat. I really enjoyed this trip and was a really great experience.