Week 2: From Cloud to Code β Local Development & HTML Structure Available
Monday, October 6, 2025 β’ 10:00 AM - 12:20 PM
Repository: https://code-and-design.org/
Theme: Professional Development Workflow + HTML Structure Mastery
Designer-Coder Lens
Designer Focus
Visual hierarchy and information architecture, spatial relationships (boxes within boxes, nesting), file organization as foundation of design systems, wireframing structural relationships in Figma, logo design and icon systems
Coder Focus
HTML document structure and the DOM tree, parent-child relationships in code, semantic HTML element selection, file/folder hierarchy and organization, attributes, classes, and IDs as metadata, local development workflow
Bridge Concept: "Hierarchy exists everywhereβin your file system, in your HTML structure, and in your visual design. Master one, understand them all."
Day 1: Local Development & Deployment Workflow Monday, Oct 6
Part 1: Web Evolution Discussion 10:00-10:40 AM
Web Then and Now: Group Discussion
Students discuss their "Then & Now" assignment analyzing website evolution via Wayback Machine.
Small Groups (3-4 students) - 15 min
- Each person shares their site analysis (3-4 min per person)
- Group identifies common patterns across different sites
Discussion Prompts:
- What navigation patterns changed over time?
- How did user control increase?
- Which features reflect current web trends?
- How has mobile affected design decisions?
- What elements stayed consistent?
Class Debrief - 10 min
- Each group shares one surprising finding
- Instructor highlights common observations
- Connect to today's lesson: "You analyzed how design evolved. Now we learn how the code structure behind these sites works."
Part 2: File Structures & Hierarchy 10:50-11:00 AM
Three Types of Hierarchy (Parallel Concepts)
1. File System Hierarchy
2. HTML Document Hierarchy (Parent-Child)
3. Visual Design Hierarchy
- What users see first (size, color, position)
- Grouping and relationships (proximity, similarity)
- Information architecture (how content is organized)
Key Concept: Proper hierarchy makes projects maintainable, code understandable, and designs clear.
Part 3: Local Development Workflow 11:30 AM-12:20 PM
Step 1: VS Code Boilerplate Shortcut (5 min)
Demo & Practice:
- Open VS Code
- Create new file, save as
test.html - Type
!and press Tab - Magic! Full HTML5 boilerplate appears
Understanding the boilerplate:
What each part means:
<!DOCTYPE html>- Tells browser this is HTML5<html lang="en">- Root element, language declaration<head>- Metadata (not visible on page)<meta charset="UTF-8">- Character encoding<meta name="viewport"...>- Responsive design setup<title>- Page title (shows in browser tab)<body>- Visible content goes here
Step 2: Images in CodePen via snipboard.io (10 min)
Solution: Use snipboard.io for quick image hosting
Demo:
- Go to https://snipboard.io
- Upload or paste an image
- Copy the generated URL
- In CodePen, add:
<img src="[snipboard-url]" alt="description"> - Optionally style:
<img src="..." style="width: 300px;">
Key Learning: External hosting is common for images (CDNs, cloud storage, etc.)
Step 3: Create Local HTML Files in VS Code (15 min)
Transition from CodePen to local files.
3A. Recipe Page from CodePen (8 min)
- Open your recipe CodePen
- Copy all HTML from CodePen
- In VS Code: Create new file
recipe.html - Generate boilerplate (
!+ Tab) - Paste recipe HTML into
<body> - Update
<title>to your recipe name - Handle the image:
- Download image from snipboard URL (or find new image)
- Save to same folder as
recipe.html - Update img tag:
<img src="recipe-photo.jpg" alt="description">
- Preview: Right-click file β Open with Live Server (or browser)
Step 4: GitHub Repo Organization (15 min)
4A. Create GitHub Repository (3 min)
- Go to GitHub.com (logged in)
- Click "+" β "New repository"
- Repository name:
code-design-workspace - Description: "My DESN368 Code+Design Portfolio"
- Public
- Do NOT initialize with README (we'll add files directly)
- Click "Create repository"
4B. Organize with Folders via Drag & Drop (12 min)
GitHub allows folder creation through file upload:
- Create week-1 folder with files:
- On repo page, click "uploading an existing file"
- In the filename field at top, type:
week-1/newspaper.html - This creates the
week-1/folder! - Upload files one at a time (GitHub limitation)
- Repeat for
lost-pet.htmlandfavorite-band.html
Step 5: Codespaces & GitHub Copilot (10 min)
5A. Open Codespace (3 min)
- From GitHub repo page, click "Code" button
- Click "Codespaces" tab
- Click "Create codespace on main"
- Wait 1-2 minutes for environment to load
- VS Code opens in browser! π
5B. Introduce GitHub Copilot (3 min)
Week 2 AI Level: Reference and Validator
- Ask definitional questions
- Request explanations
- Validate code syntax
- Get help with errors
Step 6: Deploy with Netlify (5 min)
Goal: Get a live URL for the portfolio
Demo & Students Follow:
- Go to Netlify:
- Visit https://app.netlify.com
- Sign up/login with GitHub account
- Import Project:
- Click "Add new site" β "Import an existing project"
- Choose "Deploy with GitHub"
- Authorize Netlify to access GitHub
- Select
code-design-workspacerepository
- Configure & Deploy:
- Site name: auto-generated (can customize later)
- Branch:
main - Build command: leave empty
- Publish directory: leave empty (we're just deploying HTML)
- Click "Deploy site"
- Wait for Deployment:
- Watch build log (usually 30-60 seconds)
- Site goes live!
- URL format:
random-name-123.netlify.app
Week 2 Assignments
Complete all 7 assignments to demonstrate mastery of local development workflows and semantic HTML.
π Lab: Repo Sync, GitHub Codespaces, and Netlify Deployment Due: Mon, Oct 13
Overview
Organize your projects on GitHub, create an index page with AI assistance, and deploy your site live to the web.
Requirements
Your deployed site must include:
- β
index.htmlwith working navigation at the root of your repository - β
week-1folder containing:newspaper.html,lost-pet.html,favorite-band.html - β
week-2folder containing:recipe.htmland at least one image file - β All navigation links working correctly
- β Site accessible via your Netlify URL
To Submit
- Copy your full Netlify URL (e.g.,
https://your-site-name.netlify.app) - Paste it in the Canvas submission box
- Click "Submit"
π» Practice: Codedex.io - Structure Due: Fri, Oct 10
Overview
Complete three HTML coding exercises in CodePen to practice web page structure and formatting fundamentals.
Instructions
Step 1: Complete exercises 8 through 12 on Codedex.io
Create three separate CodePens for:
- Craigslist Ad - Create a Craigslist ad for something odd in your house. Mimic the style of Craigslist.
- Wiki Article - Create a wiki article about one of your favorite people (dead or alive).
- Lorem Ipsum - Practice with Lorem Ipsum placeholder text. Add comments describing what each section class is for.
Step 2: Submit Your Links
Copy and paste the URLs for all three CodePens in the Canvas text entry box.
Format your submission like this:
Before You Submit:
- β Make sure each CodePen is saved
- β Test each link by opening it in a new browser tab
- β Verify you have all three URLs
π Practice: Migrate Codedex CodePens to GitHub Due: Mon, Oct 13
Overview
Practice migrating your CodePen projects to your GitHub repository using Codespaces. This mirrors the professional workflow we demonstrated in the Week 2 Lab.
Instructions
Step 1: Open Your Codespace
- Go to GitHub.com and navigate to your
code-design-workspacerepository - Click the green "Code" button β "Codespaces" tab
- Click "Resume" on your existing Codespace (or "Create codespace on main" if needed)
- Wait for VS Code to load in your browser
Step 2: Migrate Your Three Projects
For each of your three CodePen projects (Craigslist Ad, Wiki Article, Lorem Ipsum):
- Create new HTML files in your
week-2folder:craigslist-ad.htmlwiki-article.htmllorem-ipsum.html
- Use the HTML boilerplate shortcut: Type
!and press Tab - Copy your CodePen content and paste it into the
<body>section - Update the
<title>tag to match your project - Save the file (Ctrl+S or Cmd+S)
Step 3: Commit and Sync Your Changes
- Click the Source Control icon in the left sidebar
- In the message box, type:
Add week 2 codedex.io HTML exercises - Click the blue "Commit" button
- Click "Sync Changes" to push to GitHub
Submit: Your Netlify URL (site will auto-update with new files)
View Assignment in Canvasπ¨ Practice & Explore: Migrating HTML from CodePen to VSCode Due: Fri, Oct 10
Objective
Practice using VS Code's HTML boilerplate shortcut and migrate your CodePen projects to local development with proper file organization.
Part 1: Recipe Migration (Week 2 Folder)
- Open VS Code
- Drag and drop your
desn368folder onto VS Code - Navigate to your
week-2folder - Create a new file named
recipe.html - Use the
!+ Tab shortcut to generate the HTML5 boilerplate - Copy your recipe HTML content from CodePen into the
<body>section - Update the
<title>tag to match your recipe - Download your recipe image from snipboard.io
- Save the image in your
week-2folder - Update your
<img>tag to reference the local image file
Part 2: Previous Projects (Week 1 Folder)
Repeat the migration process for your three previous assignments. Create these files in your week-1 folder:
newspaper.htmllost-pet.htmlfavorite-band.html
Submission Requirements
Screenshot 1 (Required for everyone):
Take a screenshot of your VS Code Explorer panel showing:
- Both
week-1andweek-2folders expanded - All HTML files visible
- Your recipe image file in week-2
- Clear, readable file names
Screenshot 2 (If you attended class):
Take a screenshot of your GitHub repo showing the same structure
Upload: Submit your screenshots to Canvas
View Assignment in Canvasπ¨ Practice: Figma 101 Part 3 - Logo and Icon Set Due: Fri, Oct 10
Overview
Complete the 3rd lesson in the Figma 101 course focusing on logo design and icon systems.
Learning Objectives
- Explore the Pen tool
- Discover the power of vector networks
- Design a logo for an app concept
- Begin creating a set of icons
Instructions
- Name your file using the format:
figma-101-pt3-[last and first initial]-f25
Example: If your name is Jane Smith:figma-101-pt3-sj-f25 - Place your Figma file in the Figma 101 Project folder
- Submit to Canvas: Submit the link to your Figma file
π¨βπ¨ Designer Moment
Logo and icon systems require both creativity and systematic thinkingβjust like coding requires both problem-solving and structure.
π Reflection: Weekly Visual Notes Due: Sun, Oct 12
Objective
Create hand-written visual notes that capture key concepts, ideas, and learnings from this week's content.
This Week's Focus
Read and take visual notes on this article about semantic HTML and the web development journey ahead.
Required Reading
Semantic HTML
MDN: Semantic HTML
What to Include in Your Visual Notes
- Key definitions and concepts
- Diagrams showing HTML structure
- Examples of semantic vs. non-semantic markup
- Your own observations and connections
- Questions that arise while reading
- Visual metaphors that help you understand
Submission
- Scan or photograph your visual notes
- Ensure text is legible
- Upload to Canvas
π§ Update: Apply Semantic HTML to Week 1 Pages Due: Mon, Oct 13
Overview
Apply what you learned about semantic HTML and styling to improve your Week 1 pages.
Requirements
For newspaper.html, lost-pet.html, and favorite-band.html:
- β
Replace generic
<div>tags with semantic elements where appropriate:- Use
<article>for main content - Use
<header>for top sections - Use
<footer>for bottom sections - Use
<nav>if you add navigation
- Use
- β
Add appropriate
classandidattributes - β Ensure proper document structure (DOCTYPE, head, body)
- β Add HTML comments explaining your structure
- β Apply styling using either inline styles or in-page styles
- β Improve visual presentation (colors, spacing, typography)
GitHub Copilot Usage
You're learning the foundation. AI helps you understand, not bypass learning.
Use GitHub Copilot for:
- Generating HTML boilerplate structures
- Getting suggestions for semantic element choices
- Asking questions about HTML/CSS properties
- Reviewing code for structural issues
Example Prompts:
- "Create a semantic HTML structure for a blog post with header, article, and footer"
- "Explain why this link isn't working:
<a href=about.html>About</a>" - "Suggest semantic HTML elements for a recipe page"
NOT Allowed Yet:
- Having AI write complete pages for you (you must understand every line)
- Copy-pasting AI code without modification and understanding
- Using AI instead of learning fundamentals yourself
Submission
Commit your updated files to GitHub and submit your Netlify URL (site will auto-update).
View Assignment in CanvasResources
Web Evolution
- Wayback Machine - View historical website versions
- Evolution of the Web
- Evolution of the Web - Interactive timeline
- Web Design Museum - Gallery of historical designs
HTML & Semantic Elements
- MDN HTML Elements Reference
- Web.dev: Learn HTML
- HTML5 Doctor - Semantic element explanations
- A11y Project: Semantic HTML
Tools & Services
- snipboard.io - Quick image hosting
- GitHub Codespaces - Cloud development environment
- GitHub Copilot - AI pair programmer
- Netlify - Free static site hosting
- Codedex HTML - Interactive tutorials