# Luck of the Draw

"Luck of the Draw" Wiki Page
Student Name: Dalton Gamache
Class Date: 12/20/12
What We learned
We learned how to make a label give us a result (lblCommissionResult.Text * 0.02). This gave us a 2% commission Result. if we would have put in 0.05 it would have gave us a 5% Commission result. Dim strName As String brings up a box that allows us to enter our name. In the Code it had Lynn Michaud as the automatic name. Whenever you type in strName you are calling upon the name that you typed in and typed in and it will bring it up. The syntax for the input box is InputBox("Message","Title Bar", "Default Vaule"). We had the focus go tot the first text box so that it saves time for the user and is more convenient. We had to add a new form for the second window. You had to go to Project then Add windows form. Arithmetic Operations produce an output. Thats what were doing with (lblCommissionResult.Text * 0.02) the computer has to calculate the answer for our input.

Student Name: Griffin O'Connor
Class Date: 12/6/12
What Learning....
Last class we learned about radio buttons, an odd circle-y thing use to select one option and one option alone. we also learned how to define a variable as an integer or decimal (dim int/dec-name as integer/decimal). Another thing we learned was message-box coding (MsgBox("MsgBox title", MsgboxStyle.button-types), and you can even have code effected by the option you choose (if MsgBoxResult.option then).

Student Name: Derek Zhou
Class Date: 11/27/12
What we learned:

'Progam Name: Find the Wildcat
'Date: 11/26/12
'Purpose: Visual basic game that allows the programmer to experience the game of guessing to find Dalton.

'Objective: Programmer learns and experiences the use of variables to make the code run.

Public Class Form1
' form-level variable for storing a random number
Private randomNumber As Integer (describes comment code of 'form-level variable for storing a random number, code that tells program that its a number generator.)

Private Sub pic1_Click(sender As System.Object, e As System.EventArgs) Handles pic1.Click
' displays either the mouse image or
' the "Not Here" image

If randomNumber = 1 Then
pic1.Image = picDalton.Image (randomly selects Dalton or not image)
Else
pic1.Image = picNot.Image

End If
End Sub

Private Sub pic2_Click(sender As System.Object, e As System.EventArgs) Handles pic2.Click
' displays either the mouse image or
' the "Not Here" image

If randomNumber = 2 Then
pic2.Image = picDalton.Image
(randomly selects Dalton or not image)
Else
pic2.Image = picNot.Image

End If
End Sub

Private Sub pic3_Click(sender As System.Object, e As System.EventArgs) Handles pic3.Click
' displays either the mouse image or
' the "Not Here" image

If randomNumber = 3 Then
pic3.Image = picDalton.Image
(randomly selects Dalton or not image)
Else
pic3.Image = picNot.Image

End If
End Sub

Private Sub pic4_Click(sender As System.Object, e As System.EventArgs) Handles pic4.Click
' displays either the mouse image or
' the "Not Here" image

If randomNumber = 4 Then
pic4.Image = picDalton.Image
(randomly selects Dalton or not image)
Else
pic4.Image = picNot.Image

End If
End Sub

Private Sub pic5_Click(sender As System.Object, e As System.EventArgs) Handles pic5.Click
' displays either the mouse image or
' the "Not Here" image

If randomNumber = 5 Then
pic5.Image = picDalton.Image
(randomly selects Dalton or not image)
Else
pic5.Image = picNot.Image
End If
End Sub

Private Sub Btnstart_Click(sender As System.Object, e As System.EventArgs) Handles Btnstart.Click

' prepares the interface for a new game

Dim randomGenerator As New Random (prepares the interface for a new game)

' generate random number from 1 through 5
randomNumber = randomGenerator.Next(1, 6) (generates random number from 1-6.)
' display the "Is the mouse here?" image
pic1.Image = picQuestion.Image (image code that selects the image to appear)
pic2.Image = picQuestion.Image
pic3.Image = picQuestion.Image
pic4.Image = picQuestion.Image
pic5.Image = picQuestion.Image
End Sub

Me.Close() (code that closes the game)
End Sub
End Class

Student's Name: Griffin O'Connor
Class Date: Thursday, November 1

What We Learned:

Student Name: Griffin O'Connor
class Date: 11-1-2012
What we learned:

Today we were asked to describe a few similarities between the coding languages we've been exposed to so far (HTML, CSS, Python, ActionScript, and C++) and this is what we came up with:
• All these languages use a form of function
• They all have specialized commands such as;
If/elif A=4 (other command here) else: (another other command)
href=(url here) (hyperlink reference, used to redirect to a different webpage)
#sidebar {
attribute:value; attribute:value;
attribute:value; attribute:value;
attribute:value; attribute:value;
}
etc...
 They all utilize variables ((boolean)true/false, A=2, etc...)
 They all use grouping symbols or other punctuation symbols to seperate or assign code
Print("text")
width:50%; float:right;
<h1>
 All use comment code
 You can add objects or events in all the coding languages
btnPicture.visible=false/true
 All these programs (usually) require debugging at one time or another
 Programmers need to use 'the program development life cycle' with any language
(analyze requirements, design user interface, add objects, code, debug, document the program, update/modify)

Student's Name: Colin Reed
Class Date: Thursday, November 1

What We Learned:

Today we were asked to descride the purpose behind CSS and describe the code used for the web page we last created.

CSS stands for "Cascading Style Sheet"
CSS is used to make it easier for more than one person to work on the same HTML web page at once. And provides a consistant feel for each of the web pages that the web site is made of, saving a lot of time and speeding up downloads.

To make it work, the Body tab, and all the tabs you plan to change with CSS, to blank tabs

body {
background-color: #2C3FFF Changes background of Web page
color: #FFFFFF;
}

hr {
color: sienna;
width: 80%; Changes color of the "Horizantal Rule"
size: 22 pt;

}

p {margin-left: 20 px;}

#sidebar {
width: 50%; float: right;
font-family: helvetica; font-size: 13pt;
font-weight: bold; text-align: justify; Creates a sidebar (text in HTML editor page)
background: ornage; color: black;
border-style:outset; border-width: 20px;
border-color: silver;
}

h3
{
color: red;
text-align: left; Changes color of the third header
font-size: 8pt;
}

a
{
color: green; Changes the color of the links on the page
}

Student Name: Zachary Pease
Class Date: 10-10-12
What I learned:
I learned how to add a table to my webpage and how to change all the aspects of said table.

What we learned in class:
--We learned many codes that apply to the html table:
--<tr> = table row
--<td> = table cell
--<rowspan> = how many rows a certain cell takes up
--<colspan> = how many colums wide the table is
--<table border> = how thick the line around the outside of the table isin pixles
--<cellspacing> = how big of a space to put in between each of the cells in pixles
--<cellpadding> = how much space is in between the cell wall and the things (words n' stuff) inside the cell
--<align> = where the words or object is aligned on the page
--Also, we learned that anything inside <!--example--> is comment code

What we did in class:
We were given a piece of paper that had the code for a HTML table and we were told to code this into our websites and to modify/play around with the settings of the table, like the backround color, table border size, etc. and of course, the content in each of the cells. When we were done with that we then researched the type of code that we want to learn, like what program is needed to run it, what you can do with it, stuff like that .

Homework: None

## What I Learned:

I learned how to code html and how to change code around. I learned how to change the background color. Some more things that I learned are below under What we did in class.

file:///H:/Webpage/first.htm

# 1.FontFace=Arial to change the type of font

<font face=Arial>

# 3. I added a music player that played a audio file off my computer.

<embed src="Ode To Joy.mp3" autostart=true>

<marquee behavior=’alternate’>

# 6. I used a customized bullet list by changing the bullets from circles to squares.

<ul type=square><li>

## Homework

Student Name: Derek Zhou
Class Date: September 27

What I Learned In Class:

• HTML stands for: Hypertext Markup Language
• Hypertext means text displayed on an electrical device that contains hyperlinks to other sources of text.
• First HTML codes which are title, entitle, head, html and enhead
• HTML code <hr color=red width=75% size=20 means create red line across web page
• Hexadecimal is a 6 digit code for color. ex-FF12334
• Text editor for Windows is Notepad
• Text editor for Mac is Edited
• Save all is to save web page in Notepad
• <ul> stands for unorder list
• <li> stands for list item
• <OL> stands for ordered list
• Http stands for Hypertext transfer protocol
• URL stands for Uniform(universal) resource locator

What We Did In Class:

Beginning of class we worked on a work sheet to test our knowledge what what we learned so far and reviewed them. After that we continued to work on basic websites from the Visual Programming section from Ms. Michaud's website. Discussed why the freshmen were in class. After that took the last ten minutes to discuss where were heading and where we should be at.

Homework: Study like you should be so we all can be what we can be.

Student Name: Not by Parulis
Class Date: September 24

What I did not Learned In Class:

• HTML stands for: Hypertext Markup Language
• Hypertext means text displayed on an electrical device that contains hyperlinks to other sources of text.
• Markup means a way of annotating code in a way that is visually different from the regular text, in a way this is immediately noticeable.
• Using a text editing program entails editing the base code of a document, or starting a basic HTML code from scratch.
• Make sure to save your program as a .HTML file.
• Opening up the .HTML file will open a window in your default browser, or if a window is already open, a new tab in it.
• Also make sure to save everything into one folder.
• Hexadecimal means a numbering system with a base of 16.
• It is possible to build a website using only a text editing program.
• There is a wide array of unique codes that can be applied to a website, still only requiring a simple text editing program.

What We Did In Class:

We started working on basic websites using a template that we obtained from the Visual Programming section of Ms. Michaud's website.
This was done via editing the code obtained using a text editing program such as Notepad. We were assigned with the task of finding five unique HTML codes on our own.

Homework: Search for 5 different HTML codes that can be used on our websites.