Posts

Showing posts from April, 2019

LAB 20

Image
              In this lab you had to create a guessing game. There will be a limit to how far you can guess. If the number the player has guessed is lower than the selected number, it would say "Too Low". But if the number the player guesses higher then a "Too high" text will show up. This goes on until the player eventually guesses the correct number. The code for this isn't as complicated because it mostly consists of IF statements stated to "True" or "False".

Lab 19

Image
       In this lab you had to do the same thing as lab 18 except that there was a twist. In this lab, the first value was already set to the number five. The only other value you could choose  was the second one. This required less code because I had to set the value of the first place holder as five and only fix the code for the second value so any number can once again be written. You had to just use the same code as lab 18 except that you had to modify it so it only works with one value.

Lab 18

Image
         In this lab I used Dreamweaver to create an online calculator. All you are required to do is just plug in a value in the first place holder and then another value in the second one. You then proceed to select an option of what you would like the computer to do with both values. This lab was a bit complicated because it was kind of hard for me to figure out the individual code to get each of the buttons to work. Also I had to make sure that that code would work for any value that will be placed in the value holders.