Thursday, January 21, 2016

Lab 16

     For my Lab#16 we had to make 3 buttons that would do three different things to text in a box. These buttons would increase the font, decrease the font and animate the box. At first this lab was confusing because I didn't know that each button had to have an id until I got to my second button and it started making more sense. I also needed a div for the box so that it would be affected by the jQuery that I would input later on. After making a button id for each button I started the jQuery in a separate JavaScript file. I made each button do what function it needed to do and used the name of the buttons ids to do this.
     After doing this I had to link the JavaScript to the HTML file so that all the buttons would work. This lab was interesting because it was a lot going on at one time which made it more challenging when coding. I made the CSS consistent with the background and text color to make the box stand out and also the buttons. This lab will be helpful in my future because I learned from my mistakes when I was troubleshooting and because of that I was able to complete the lab having it work correctly. I can now add things like this in future labs and projects and make it look more full with content that I would add to make the page more interactive. 

Lab 15

     In this lab the objective was to make a contact me button that would slide down and would let you input information. You should also be able to submit the information or just close the window. This lab was interesting because its something that you see a lot in different forms so it was interesting to know a way to do it. For this lab we had to use jQuery to make the slide down menu work with the button for it. It was confusing at first because I was unfamiliar with the code that we were going to use so it was hard to troubleshoot for mistakes. 
     After figuring out my mistakes and getting some help from class mates I was able to complete the lab. This lab required a lot of CSS for the three input boxes for the slide down menu in order to make them how we wanted. It also had a lot of jQuery which was the most confusing part. This lab will be helpful in the future because now I can add this to future projects and can make them look more professional. 

Lab 14

     For our Lab #14 we had to write two paragraphs about our favorite subject and why it was our favorite subject. We had to do this so that we could make a block quote for each of the paragraphs. in each of the block quotes we had to have something stand out from our paragraph. In order to do this we made a HTML file and put our paragraphs in <p> tags so that they were displayed. We then gave each paragraph a class so that we would be able to choose what we wanted to stand out. Wherever we wanted the block quote to end is when we closed the <span> tag. 
     After closing this tag we had to add the jQuery code in order to make the block quote work. We also had to add CSS to the block quote so that we would be able to see it with our background. In the CSS that we inputted we were able to change the text color size of the box and many different specifications. This lab wasn't really challenging, it was kind of simple but it was cool to see it after writing the code and seeing how it works. I think I will be able to use the knowledge and skills I got from this lab in future projects if I would include a lot of text and wanted something in specific to stand out. 




Thursday, January 14, 2016

Lab 13

     There were several parts for our Lab#13 which made it very long. This lab was based on practicing to clone our servers by making a sever for each lab and project that we created. This was very repetitive because we have done many labs and projects. It was confusing at first because we haven't done this in a long time but it made more sense after we did it a couple of times. After making a server for each lab and project we had to screenshot it to have it in our lab. 
     We also had to write our new years resolution so that we could implement it into the lab. We added the screenshot to the HTML file and when it was clicked we had to make it so that it would clone. To do this we used jQuery code that would clone the image when it was clicked. This lab will be helpful in my future because I remember to how to set up a server. Also I now know how to clone text or and image when it is clicked so that I can include this in future labs and projects.


Wednesday, January 6, 2016

Hour of the Code Lab

     For the Hour of the Code lab we made three different html files in the website from the hour of the code. One was an animation of our name that we used jQuery to make. Another was the orbit of the earth around the sun. We did this using CSS and Javascript. Last we made an HTML page with a picture and an input box. All three of these exercises were very helpful because they taught us different things. After completing all three of these exercises we had to put them all in one HTML page that we created . This was challenging because it had to do with a lot of code from different sources and it was like mixing codes.
     We had to organize the code in a way to make it all work and had to download all of the JavaScript files that were used in the labs. We then had to link all of the JS and CSS files to the one HTML page so that everything functioned correctly. Doing this lab was really fun because it was very creative and we were helped while doing it if we got stuck by the website. It will be helpful in the future because now we can implement what we learned in this lab into our future labs and projects.  

Monday, January 4, 2016

New Year's Resolution

     Last year I believe that I had a good year and grew as a person. From last year until now I feel like I am more mature and responsible. I am smarter and wiser which will allow me to make better decisions for this upcoming year.

     My New Year's Resolution is to gain more muscle and cut down on fat by going to the gym and watching what I eat. I want to get my body more cut but nothing crazy yet. I can do this by making a workout schedule weekly and sticking to it. Also, I can eat more home cooked meals than eating junk food outside. I want to progress each month so that I keep myself on track and can actually obtain these goals. I just have to get used to going to the gym on a regular basis and that will make things easier. This resolution is going to help me in many ways because it will make me more healthy and will prepare me for my upcoming baseball season. I have to be dedicated to this resolution because the only person that can stop me from getting this done is myself.

Sunday, January 3, 2016

Lab 12

     For my Lab#12 I had to make an accordion based on my favorite subject and I had to have five questions. For my lab I chose Web Design as my favorite subject because there is so much you can do with it and can be used in many different ways. For this accordion we used jQuery and CSS to make it functional. When the user would hover over one of the questions, it would slide down an answer. This would happen to all the questions but only when you hover over a question. 
     I used functions like mouseenter, slideUp, and slideDown in order for the accordion to do so. We made a separate JavaScript and CSS file for our lab and then linked it to the HTML file.  This lab will be helpful in my future because I now know how to make an accordion and can implement it in future labs and projects. Im able to change the colors of it and will now be able to display other information. With this lab I now have more experience and practice with jQuery and with more practice it will become easier for me to complete future labs and projects.

Lab 11

     For our Lab#11 we had to have two buttons that would change each other when you hover over the one on top, the one under it changes opacity. In order to do this we had to use CSS and jQuery. This lab was complicated at first because we didn't know what was supposed to happen at first and it seemed really cool to be able to change the opacity of a button with another button. For the buttons we needed two div tags so that they were separate. In the CSS the opacity had to be the same so that you see the difference when you hover over the top button.
     In the jQuery there were mouseenter functions for when the user would hover over the buttons. Also, there was fadeTo functions so that the button would change color. We had separate CSS and Javascript files so that we would be able to link them to the HTML file. This lab will help me in my future because now I have more knowledge on jQuery and learned how to make a button fade in when you hover over a different button.