Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added William_Blackwell/Debugging-jQuery.zip
Binary file not shown.
19 changes: 19 additions & 0 deletions William_Blackwell/bday.js
Original file line number Diff line number Diff line change
@@ -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);
Binary file added William_Blackwell/colorclicker.zip
Binary file not shown.
Binary file added William_Blackwell/contactCard 2.zip
Binary file not shown.
Binary file added William_Blackwell/contactCard.zip
Binary file not shown.
Binary file added William_Blackwell/css_examples.zip
Binary file not shown.
5 changes: 4 additions & 1 deletion William_Blackwell/database assignment copy/database.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -156,4 +156,7 @@ ul li {
.buttons:hover {
color: #5c729c;
background-color: white;
}
.think {
border-right:0px;
}
28 changes: 14 additions & 14 deletions William_Blackwell/database assignment copy/database.html
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
<!DOCTYPE html>
<html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="database.css">
<title></title>
<title>Databases</title>
</head>
<body>
<div id="wrapper">
<div id="header">
<div id="hleft">
<img src="images/database-name.jpg">
<img src="images/database-name.jpg" alt="databasename">
</div>
<div id="hright">
<h3>You can't learn enough about Databases!</h3>
</div>
</div>
<ul>
<li><a href="#">Home</a></li><!--
--><li><a href="#">About</a></li><!--
--><li><a href="#">Storage</a></li><!--
--><li><a href="#">Searching</a></li><!--
--><li><a href="#">Interaction</a></li><!--
--><li><a href="#">Companies</a></li><!--
<li class="think"><a href="#">Home</a></li><!--
--><li class="think"><a href="#">About</a></li><!--
--><li class="think"><a href="#">Storage</a></li><!--
--><li class="think"><a href="#">Searching</a></li><!--
--><li class="think"><a href="#">Interaction</a></li><!--
--><li class="think"><a href="#">Companies</a></li><!--
--><li><a href="#">Contact Us</a></li>
</ul>
<div id="mainc">
<img src="images/database.jpg">
<img src="images/database.jpg" alt="database">
</div>
<div id="maincr">
<div id="maincrh">
Expand All @@ -44,7 +44,7 @@ <h5>A Stack of Information!</h5>
<div class="boxh">
<p class="titles">Storage</p>
</div>
<div class="pic"><img src="images/harddrive.jpg">
<div class="pic"><img src="images/harddrive.jpg" alt="harddrive">
</div>
<p>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
Expand All @@ -57,7 +57,7 @@ <h5>A Stack of Information!</h5>
<div class="boxh">
<p class="titles">Searching</p>
</div>
<div class="pic"><img src="images/database-search.jpg"></div>
<div class="pic"><img src="images/database-search.jpg" alt="database search"></div>
<p>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.</p>
Expand All @@ -69,7 +69,7 @@ <h5>A Stack of Information!</h5>
<div class="boxh">
<p class="titles">Interaction</p>
</div>
<div class="pic"><img src="images/dbinteraction.png"></div>
<div class="pic"><img src="images/dbinteraction.png" alt="dbinteraction"></div>
<p>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.</p>
Expand All @@ -81,7 +81,7 @@ <h5>A Stack of Information!</h5>
<div class="boxh">
<p class="titles">Companies</p>
</div>
<div class="pic"><img src="images/database-companies.jpg"></div>
<div class="pic"><img src="images/database-companies.jpg" alt="database companies"></div>
<p>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.</p>
Expand Down
Binary file added William_Blackwell/disNinja.zip
Binary file not shown.
Binary file added William_Blackwell/disappearing_ninja.zip
Binary file not shown.
10 changes: 10 additions & 0 deletions William_Blackwell/fancyarray.js
Original file line number Diff line number Diff line change
@@ -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();
11 changes: 11 additions & 0 deletions William_Blackwell/fewbillion.js
Original file line number Diff line number Diff line change
@@ -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());
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 62 additions & 0 deletions William_Blackwell/internetAssignment/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
<title>Internet</title>
</head>
<body>
<div id="globe">
<img src="images/globe.png" alt="globe">
<h1>The Inter<span>net</span></h1>
</div>
<div id="wrapper">
<h2>The World Wide Web</h2>
<div id="leftmain">
<h4>So, what's an <span>Internet</span></h4>
<p>An Interconnected Network of Computers all around the world!</p>
<input class="buttons" id="bluebutton" type="button" name="video" value="WATCH A VIDEO">
<input class="buttons" id="orangebutton" type="button" name="resources" value="MORE RESOURCES">
<hr>
<div id="leftmainimg">
<p class="two">Reinvent your career in just 14 weeks</p>
<img src="images/ninja.png" alt="ninja">
<input class="learnmore" type="button" name="learn" value="Learn More >>>">
</div>
</div>
<div id="rightmainh">
<div id="topleft">
<img id="house" src="images/home.png" alt="house">
<span id="dns">DNS</span>
</div>
<img id="phone" src="images/phone.png" alt="phone">
<p id="info">Mon - Fri a.m. - 5 p.m. (EST) <span id="blue">855.967.3787</span> International +1.617.967.3787</p>
</div>
<div id="rightlower">
<span class="maintitle">Clients and Servers</span>
<p>Computers connected to the <span class="liblue">Web</span> are called clients and servers</p>
<ul>
<li><span class="liblue">Clients</span> 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 <span class="liblue">Web-accessing software</span>available on those devices (usually a web browser like Firefox or Chrome).</li>
<li><span class="liblue">Servers</span> are computers that store <span class="liblue">webpages</span>, <span class="liblue">sites</span> or <span class="liblue">apps</span>. 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.</li>
</ul>
<img src="images/client_server.jpg" alt="server">
<p><span class="maintitle">So What Actually Happens?</span></p>
<ol>
<li>The browser goes to the <span class="liblue">DNS server</span> and finds the real address of the <span class="liblue">server</span> that the website lives on.</li>
<li>The browser sends an <span class="liblue">HTTP request</span> message to the server asking it to send a copy of the website to the client.</li>
<li>If the server approves the client's request, the server sends the client a <span class="liblue">"200 OK" message</span>, which means "Permission granted! Here you go!", and then starts sending the website's files to the browser as series of small chunks.</li>
<li>The browser assembles the small chunks into a complete website and displays it to you!</li>
</ol>
</div>
<div id="footer">
<div id="footimg">
<img src="images/html.png" alt="html">
</div>
<div id="foottext">
<span class="maintitle">The Big 3 - HTML, CSS, JavaScript</span>
<p>While the server can process information in many different languages, the files that they serve to the client are <em>always</em> going to be some combination of HTML, CSS, and JavaScript</p><p>Learn more about the Big 3 <span class="liblue">here</span>!</p>
</div>
</div>
</div>
</body>
</html>
Loading