Module 4

    One of my favorite parts of JavaScript is creating conditional statements to make them do some crazy stuff. I decided to keep it simple with just an if/else if/else statement to ask the user my favorite color. None of this was necessarily hard, but if I had to pick the "hardest" thing to create it would be the button and the initial variable. The creation of these two require lots of attention to make sure you get the syntax absolutely correct. The rest was pretty easy as it was just as simple conditional statement. I came up with the idea of asking for my favorite color because it is a common question and I thought it would be a nice program to write out.
 
    Another part of this module was to create an image in Photoshop, download it in multiple image platforms (JPEG, GIF, 8-bit PNG, and 24-bit PNG), then upload it to the website to compare the quality of each image. Pictured below is a screenshot of the website to get an idea of what it looks like.
    From left to right the images are in JPEG, GIF, PNG (8-bit), and PNG (24-bit). There really aren't any discernible differences between the quality of the images except for the GIF format. The colors are very muted in the GIF format and the image just looks bland. The rest of the images are pretty even as far as quality. Based upon my experience, I would always either pick a JPEG or PNG format when uploading an image.

Comments