Designing Solutions Through Programming block 1 Lesson Notes - August 28
What are we going to learn today?[edit]Hello Class! Today in class we will:
<!DOCTYPE html>
<html>
<head>
<style>
div {
background-color: lightgrey;
width: 300px;
border: 25px solid green;
padding: 25px;
margin: 25px;
}
</style>
</head>
<body>
<h2>Demonstrating the Box Model</h2>
<p>The CSS box model is essentially a box that wraps around every HTML element. It consists of: borders, padding, margins, and the actual content.</p>
<div>This text is the actual content of the box. We have added a 25px padding, 25px margin and a 25px green border. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
</body>
</html>
Students who are little less comfortable coding[edit]Mr. MacKenty is selling an old TV. Here is the text he wants included on an HTML page: Samsung TV for sale. About 7 years old. Model LE40A551. Link to documentation: http://www.samsung.com/pl/support/model/LE40A551P2RXXC
Current street price: 590 PLN (http://allegro.pl/tv-samsung-le40a551p2r-40-led-full-hd-usb-hdmi-i6912239584.html).
We are selling for 450 PLN.
We are selling TV, stand, remote control (pilot) and power cable. We are not including HDMI cables or video cables. We have used this TV for years and have been happy with the quality. Please contact Bill if interested at 794 333 673 or bmackenty@aswarsaw.org.
Thank you!
<img src="https://static.promoceny.pl/foto/vyrobky/011250/11132.jpg" />
Please:
|
What is our homework?[edit]If you haven't finished your solution, please try your best to have it finished by our next class. |
|
How am I being assessed today?[edit]I will assess you formatively today, and make a professional judgement to what extent you understand our learning material. I will use observation, your written work, answers to questions, and contribution to class discussions as data to make my decisions. I normally record my observations in a "evidence of learning" spreadsheet, which I will happily share with you privately if you so wish. I usually need a day or two notice. |
||
Standards we are covering today[edit] |
As a computer scientist, you have:[edit]
|
|
Credits[edit] |