Day 2 - Box Developer Fast Track
Prep
Watch list
- Why is CSS so Weird? by Miriam Suzanne
Reading list
Search list
- “the box model”
- “codepen getting started”
Housekeeping
- CPNT 201 - Assignment 2 is due tonight
- We’ll review the
git add,commitandpushprocess after lunch
- We’ll review the
- Late Penalties on Assignments:
- 10% deduction per day;
- Assignments will be accepted up to 3 days late.
1. Slides: The Browser Triad
Quiz time: UI Icons and the Triad
- Discuss each of the User Interface icons listed in the above;
- Decide on which Triad technology (HTML, CSS, JS) the icon is most associated;
- Report your answers in the main room.
2. Codepen tour
- Create a Codepen account.
- Search: ”
codepen tutorial” or similar
Lab: Pair-coding
In groups of two, decide on which lab you’d like to collab on.
See: Introduction to Pair Programming with Fiona and Semira
Wiki markup Use openly licensed text of your choice from Wikipedia or similar service. Code it in HTML using Codepen. Start with the following HTML tags:
h1-h3: headingsp: paragraphsa: linksstrong,em: bold and italicizeuland/orol: unordered and ordered lists
3. Setting up dailies, projects and assignments directories
It’s recommended that you set up the following directories in your workspace:
dailiesfor day-to-day code as one repo:/dailies /2022-09-19-box-model /topic-1 /topic-2 /2022-09-20 /more-topicsprojectsfor misc repos/projects /portfolio-site /moms-bakery /client-1assignmentsfor repos that contain WBDV assessments to be handed in:/cpnt-260 /assignment-1 /assignment-2 /etc /cpnt-262 /assignment-1 /etc
Demo: Codepen Challenge
Instructions
- Copy and paste the code of this empty HTML file into a file named
index.html. Place this file inside it’s own repo namedcodepen-challenge. - Move the code inside the Codepen HTML panel to a
<body>element of an empty HTML page namedindex.html; - Move the code inside the CSS panel to a
<style>element inside<head>element of the same HTML page; - Move the code inside the JS panel, if it exists, to a
<script>at the bottom of the<body>element of the HTML page; - Confirm the page is working as expected;
- Push
index.htmlto a GH repo namedcodepen-challengeand enable GH Pages;

