Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.
Open
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Instructional Thing, Part II

Take the [first week's](https://github.com/bfl-itp/syllabus/blob/master/schedule.md#sep-4) offline Instructional Thing assignment online. Modify [`index.html`](index.html), and add any other files you need (CSS, images, etc.)


*[Amelia's Lego Breadboard](http://www.inventioninbrooklyn.com/learning/Project2/)
51 changes: 51 additions & 0 deletions amelia.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
body {
background-image: url("http://inventioninbrooklyn.com/learning/Lego.jpg");
background-repeat: repeat;
margin-top: 0px;
margin-bottom:0px;
}

.main {
margin-left:10%;
margin-right:10%;
background:black;
height:100%;
width:78%;
float:center;
position:absolute;
}

.textbox {
padding-left:2%;
padding-top:2%;
position: relative;
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
color: #FFFFFF;
font-size: 18px;
}

.listbox {
padding-left:2%;
padding-top:2%;
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
color: #FFFFFF;
font-size: 18px;
font-size: 14px;
position: relative;
}

.videoWrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-left:30%;
padding-top: 25px;
height: 0;
}
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

38 changes: 31 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<title>So-and-so's Instructional Assignment</title>
</head>
<body>
YOUR CODE HERE
</body>
</html>

<head>
<title>Amelia's Breadboard Lego Instructional Assignment</title>
<link rel="stylesheet" type="text/css" href="amelia.css">
</head>

<body>
<div class="main">

<div class="textbox">
Prototyping your circuits with breadboards and legos:
<div class="listbox">

Directions:
<li>
pull off adhesive backing of breadboard
<li>
press flat lego onto it
<li>thats it!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As reported by the automated tests, just a minor HTML syntax error above. <li>s should wrap the content for that list item, and all be within a ul or ol. For example:

Directions:
<ol>
  <li>pull of adhesive backing</li>
  ...
</ol>

Make sense?

<div class="videoWrapper">
<!-- iframe copied from Vimeo and scaled with their 'options' -->

<iframe src="//player.vimeo.com/video/105842915?title=0&amp;byline=0&amp;portrait=0&amp;color=c9ff23&amp;autoplay=1&amp;loop=1" width="850" height="639" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>
</div>
</div>
</div>

</body>

</html>