diff --git a/William_Blackwell/Debugging-jQuery.zip b/William_Blackwell/Debugging-jQuery.zip new file mode 100644 index 0000000..0d02627 Binary files /dev/null and b/William_Blackwell/Debugging-jQuery.zip differ diff --git a/William_Blackwell/bday.js b/William_Blackwell/bday.js new file mode 100644 index 0000000..724c4b8 --- /dev/null +++ b/William_Blackwell/bday.js @@ -0,0 +1,19 @@ +function birthday(day){ +var sad = "ugh, too many days until my birthday"; +var happy = "yay my birthday is close!"; +var scream = "OMG IM SO EXCITED MY BDAY IS ALMOST HERE"; +var bday = "HAPPY BIRTHDAY TO ME!"; + if(day >= 30){ + console.log(sad); + } + else if((day < 30) && (day > 5)){ + console.log(happy); + } +else if(( day <= 5) && (day >0)){ + console.log(scream); +} +else if(day == 0){ + console.log(bday); +} +} +birthday(30); \ No newline at end of file diff --git a/William_Blackwell/colorclicker.zip b/William_Blackwell/colorclicker.zip new file mode 100644 index 0000000..166c14f Binary files /dev/null and b/William_Blackwell/colorclicker.zip differ diff --git a/William_Blackwell/contactCard 2.zip b/William_Blackwell/contactCard 2.zip new file mode 100644 index 0000000..bb27866 Binary files /dev/null and b/William_Blackwell/contactCard 2.zip differ diff --git a/William_Blackwell/contactCard.zip b/William_Blackwell/contactCard.zip new file mode 100644 index 0000000..aacd86b Binary files /dev/null and b/William_Blackwell/contactCard.zip differ diff --git a/William_Blackwell/css_examples.zip b/William_Blackwell/css_examples.zip new file mode 100644 index 0000000..29a61f3 Binary files /dev/null and b/William_Blackwell/css_examples.zip differ diff --git a/William_Blackwell/database assignment copy/database.css b/William_Blackwell/database assignment copy/database.css index ea89268..6bb2afb 100644 --- a/William_Blackwell/database assignment copy/database.css +++ b/William_Blackwell/database assignment copy/database.css @@ -66,7 +66,7 @@ ul li { background-color: white; line-height: 40px; margin: 0px; - width: 14.07%; + width: 14.16%; border:1px solid black; } #mainc { @@ -156,4 +156,7 @@ ul li { .buttons:hover { color: #5c729c; background-color: white; +} +.think { + border-right:0px; } \ No newline at end of file diff --git a/William_Blackwell/database assignment copy/database.html b/William_Blackwell/database assignment copy/database.html index ec675bc..b195a39 100644 --- a/William_Blackwell/database assignment copy/database.html +++ b/William_Blackwell/database assignment copy/database.html @@ -1,31 +1,31 @@ - + - + Databases
- + database
@@ -44,7 +44,7 @@
A Stack of Information!

Storage

-
+
harddrive

All databases are just a bin of storage. Since there could potientally be a lot The amazing part about having a There are a lot of large companies that This storage is housed on your of information a database stores one Database is that it is a storage bin that specialize in the storing of @@ -57,7 +57,7 @@

A Stack of Information!

Searching

-
+
database search

will have floors upon floors of just hte data we are looking for. Imagine one user had access to that data its just so too have the size and amount of database storage (think NSA styled). we had a room full of books and you like what we have built into our own companies on the market. That being Our computer stores information on were asked to find the Coding Dojo computers.

@@ -69,7 +69,7 @@
A Stack of Information!

Interaction

-
+
dbinteraction

it wouldnt be useful to said a lot of their software is free for the harddrive. we are able to create Algorithm Book. Well you might start other users. However the joy of having most users, think of MySQL. which new information, read information. picking up each book, checking the a database is that it is a storage bin while being an incredible DB.

@@ -81,7 +81,7 @@
A Stack of Information!

Companies

-
+
database companies

Thats very slow as most reading. updating and deleting a large company called Facebook. libraries discovered. Instead if we information that all users would see. were to ID each item we can find it quickly.

diff --git a/William_Blackwell/disNinja.zip b/William_Blackwell/disNinja.zip new file mode 100644 index 0000000..b211302 Binary files /dev/null and b/William_Blackwell/disNinja.zip differ diff --git a/William_Blackwell/disappearing_ninja.zip b/William_Blackwell/disappearing_ninja.zip new file mode 100644 index 0000000..7fadf63 Binary files /dev/null and b/William_Blackwell/disappearing_ninja.zip differ diff --git a/William_Blackwell/fancyarray.js b/William_Blackwell/fancyarray.js new file mode 100644 index 0000000..e5f78a9 --- /dev/null +++ b/William_Blackwell/fancyarray.js @@ -0,0 +1,10 @@ +function fancy(){ + +var fancyName = ["james","jill","jane","jack"]; +for(var i =0; i < fancyName.length; i++){ + console.log(i+"->" + fancyName[i]); +} + + +} +fancy(); \ No newline at end of file diff --git a/William_Blackwell/fewbillion.js b/William_Blackwell/fewbillion.js new file mode 100644 index 0000000..e76a435 --- /dev/null +++ b/William_Blackwell/fewbillion.js @@ -0,0 +1,11 @@ +function aFew(){ +var sum = 0.01; + for(var i = 1; i < 31;i++){ + sum = sum * 2; + +} +sum = sum / 100; +return sum; + +} +console.log(aFew()); \ No newline at end of file diff --git a/William_Blackwell/internetAssignment/images/ad_background.png b/William_Blackwell/internetAssignment/images/ad_background.png new file mode 100644 index 0000000..baa208a Binary files /dev/null and b/William_Blackwell/internetAssignment/images/ad_background.png differ diff --git a/William_Blackwell/internetAssignment/images/client_server.jpg b/William_Blackwell/internetAssignment/images/client_server.jpg new file mode 100644 index 0000000..f45118b Binary files /dev/null and b/William_Blackwell/internetAssignment/images/client_server.jpg differ diff --git a/William_Blackwell/internetAssignment/images/globe.png b/William_Blackwell/internetAssignment/images/globe.png new file mode 100644 index 0000000..1c4c244 Binary files /dev/null and b/William_Blackwell/internetAssignment/images/globe.png differ diff --git a/William_Blackwell/internetAssignment/images/home.png b/William_Blackwell/internetAssignment/images/home.png new file mode 100644 index 0000000..d8a1b59 Binary files /dev/null and b/William_Blackwell/internetAssignment/images/home.png differ diff --git a/William_Blackwell/internetAssignment/images/html.png b/William_Blackwell/internetAssignment/images/html.png new file mode 100644 index 0000000..df31ddc Binary files /dev/null and b/William_Blackwell/internetAssignment/images/html.png differ diff --git a/William_Blackwell/internetAssignment/images/ninja.png b/William_Blackwell/internetAssignment/images/ninja.png new file mode 100644 index 0000000..cfa4bae Binary files /dev/null and b/William_Blackwell/internetAssignment/images/ninja.png differ diff --git a/William_Blackwell/internetAssignment/images/phone.png b/William_Blackwell/internetAssignment/images/phone.png new file mode 100755 index 0000000..0e4bcb6 Binary files /dev/null and b/William_Blackwell/internetAssignment/images/phone.png differ diff --git a/William_Blackwell/internetAssignment/index.html b/William_Blackwell/internetAssignment/index.html new file mode 100644 index 0000000..c45b583 --- /dev/null +++ b/William_Blackwell/internetAssignment/index.html @@ -0,0 +1,62 @@ + + + + + + Internet + + +
+ globe +

The Internet

+
+
+

The World Wide Web

+
+

So, what's an Internet

+

An Interconnected Network of Computers all around the world!

+ + +
+
+

Reinvent your career in just 14 weeks

+ ninja + +
+
+
+
+ house + DNS +
+ phone +

Mon - Fri a.m. - 5 p.m. (EST) 855.967.3787 International +1.617.967.3787

+
+
+ Clients and Servers +

Computers connected to the Web are called clients and servers

+
    +
  • Clients are the typical Web user's Internet-connected devices (for example, your coputer connected to your Wi-Fi, or your phone connected to your mobile network) and Web-accessing softwareavailable on those devices (usually a web browser like Firefox or Chrome).
  • +
  • Servers are computers that store webpages, sites or apps. When a client device wants to access a webpage a copy of the webpage is downloaded from the server onto the client machine to be displayed in the user's web browser.
  • +
+ server +

So What Actually Happens?

+
    +
  1. The browser goes to the DNS server and finds the real address of the server that the website lives on.
  2. +
  3. The browser sends an HTTP request message to the server asking it to send a copy of the website to the client.
  4. +
  5. If the server approves the client's request, the server sends the client a "200 OK" message, which means "Permission granted! Here you go!", and then starts sending the website's files to the browser as series of small chunks.
  6. +
  7. The browser assembles the small chunks into a complete website and displays it to you!
  8. +
+
+ +
+ + \ No newline at end of file diff --git a/William_Blackwell/internetAssignment/style.css b/William_Blackwell/internetAssignment/style.css new file mode 100644 index 0000000..75190a6 --- /dev/null +++ b/William_Blackwell/internetAssignment/style.css @@ -0,0 +1,207 @@ + +#wrapper { + width: 970px; + height: 690px; + background: linear-gradient(to bottom, #e5e5e5 0%,#ffffff 40%); + padding: 0px; + margin: 0px auto; +} +h2 { + background: radial-gradient(ellipse at center, #5183ac 0%,#22659e 100%); + color: white; + font-family: sans-serif; + font-size: 30px; + font-weight: 500; + line-height: 70px; + padding-left: 30px; + margin-bottom: 0px; + margin-top: 0px; +} +h1 { + display: inline-block; + position: relative; bottom: 25px; + font-weight: 500; + font-size: 40px; + font-family: Helvetica; +} +h4 { + margin-bottom: 10px; +} +h4 span { + color: red; +} +#globe { + width: 970px; + height: 80px; + background-color: ; + margin: 0 auto; + position: relative; top: 15px; +} +#globe img { + width: 9%; + height: 100%; +} +#globe span { + color: #22659e; +} +#leftmain { + width: 200px; + height: auto; + /*background-color: silver;*/ + margin-left: 5px; + display: inline-block; +} +#leftmain p { + margin-top: 5px; + font-weight: bold; + font-size: 15px; +} +#bluebutton { + background-color: #22659e; +} +#orangebutton { + background-color: #ee8c0e; + margin-bottom: 20px; +} +.buttons { + width: 195px; + border-radius: 7px; + line-height: 20px; + color: white; + font-size: 15px; + +} +#leftmain img { + width: 100%; + margin-top: 20px; +} +#leftmainimg { + width: 100%; + height: 290px; + background: url("images/ad_background.png"); + background-size: 100%; + margin-top: 20px; +} +#leftmain .two { + font-family: sans-serif; + color: white; + text-align: center; + padding-top: 30px; + margin: 0px 5px; + font-size: 25px; + font-weight: 300; +} +#leftmainimg img { + width: 80px; + height: auto; + margin-left: 50px; + margin-top: 0px; +} +.learnmore { + width: 185px; + border-radius: 7px; + line-height: 20px; + color: white; + background-color: #3fc9df; + font-size: 15px;; + font-size: 15px; + margin-left: 8px; + margin-top: 10px; + border: 1px solid black; +} +#rightmainh { + height: 80px; + width:695px; + display: inline-block; + vertical-align: top; + margin-left: 55px; + border-bottom: 1px solid black +} +#rightmainh #house { + width:25px; + height:20px; + vertical-align: top; +} +#dns { + color: #22659e; + font-family: sans-serif; +} +#info { + width:200px; + height: 60px; + display: inline-block; + margin:0px; + margin-left: 10px; + text-align: right; +} +#blue { + color: #00c0df; + font-size: 30px; + font-weight: bold; + font-family: sans-serif; +} +#phone { + width: 50px; + height: 50px; + margin-left: 360px; + margin-bottom: 5px; +} +#topleft { + display: inline-block; + position: relative; bottom:40px; +} +.maintitle { + color: #22659e; + font-weight: bold; + font-size: 20px; +} +#rightlower { + position: relative; left:260px; bottom:430px; + width: 695px; + height: auto; + +} +li { + margin-bottom: 5px; +} +#rightlower img { + width: 30%; + height: 15%; + margin-left: 30%; +} +.liblue { + color: #00c0df; +} +#footer { + width: 695px; + height: 100px; + background-color:; + border-left: 5px solid #0085e0; + border-top: 5px solid #0085e0; + border-right: 5px solid #0085e0; + position: relative; left:250px; bottom:420px; + +} +#footimg img { + width: 100%; + height:90%; + margin-left: 2.5px; + margin-top: 5px; +} +#footer p { + display: inline-block; + vertical-align: top; +} +#footimg { + display: inline-block; + width: 90px; + height: 90px; +} +#foottext { + display: inline-block; + width:600px; +} +#foottext p { + margin-top: 0px; + margin-bottom: 10px; +} \ No newline at end of file diff --git a/William_Blackwell/jquery_functions 2.zip b/William_Blackwell/jquery_functions 2.zip new file mode 100644 index 0000000..c98e5be Binary files /dev/null and b/William_Blackwell/jquery_functions 2.zip differ diff --git a/William_Blackwell/jquery_functions.zip b/William_Blackwell/jquery_functions.zip new file mode 100644 index 0000000..b8041d7 Binary files /dev/null and b/William_Blackwell/jquery_functions.zip differ diff --git a/William_Blackwell/js_scroll.zip b/William_Blackwell/js_scroll.zip new file mode 100644 index 0000000..5310bc1 Binary files /dev/null and b/William_Blackwell/js_scroll.zip differ diff --git a/William_Blackwell/newArray.js b/William_Blackwell/newArray.js new file mode 100644 index 0000000..6280844 --- /dev/null +++ b/William_Blackwell/newArray.js @@ -0,0 +1,12 @@ +function newArrays(){ +var arr = ["yellow",7,2,4,"blue",7] +var newA = [] +for(i=0;i -1; i--){ + slots(); + } + diff --git a/William_Blackwell/rangeprint.js b/William_Blackwell/rangeprint.js new file mode 100644 index 0000000..3e7e2a3 --- /dev/null +++ b/William_Blackwell/rangeprint.js @@ -0,0 +1,9 @@ +function printRnge(start, end, skip){ + if((skip == null)||(skip < 1)){ + skip = 1; + } +for(i = start; i < end; i += skip){ + console.log(i); +} +} +printRnge(2,30,6); \ No newline at end of file diff --git a/William_Blackwell/studentsInstructors.js b/William_Blackwell/studentsInstructors.js new file mode 100644 index 0000000..a80ca21 --- /dev/null +++ b/William_Blackwell/studentsInstructors.js @@ -0,0 +1,13 @@ +function student(){ +var students = [ +{first_name: "michael", last_name:"Jordan"}, +{first_name: "John", last_name:"Rosales"}, +{first_name: "Mark", last_name:"Guillen"}, +{first_name: "KB", last_name:"Tonel"} +] +for(var i = 0; i < students.length;i++){ +console.log(students[i].first_name +" "+ students[i].last_name); +} + +} +student(); \ No newline at end of file diff --git a/William_Blackwell/time.js b/William_Blackwell/time.js new file mode 100644 index 0000000..f112a96 --- /dev/null +++ b/William_Blackwell/time.js @@ -0,0 +1,24 @@ + + +function displayTime(hour,minute,period){ + var hour = 10; + var minute = 35; + var period = "AM"; + + if(minute >= 30){ + var timing = 'almost'; + hour++; + } + else { + var timing = 'just after' + } + if(period == 'AM'){ + period = 'morning' + } + else { + period = 'afternoon' + } + return "It's " + timing + ' ' + hour + ' in the ' + period; +} + console.log( displayTime() ); + diff --git a/William_Blackwell/users.zip b/William_Blackwell/users.zip new file mode 100644 index 0000000..8370e5c Binary files /dev/null and b/William_Blackwell/users.zip differ diff --git a/William_Blackwell/weatherapp.zip b/William_Blackwell/weatherapp.zip new file mode 100644 index 0000000..406e801 Binary files /dev/null and b/William_Blackwell/weatherapp.zip differ