Build: The Setup
build/build-0-1-the-setup.md Build: The Setup
Due: Before Day 2 Points: 10 (Complete/Incomplete) Time Estimate: 30β45 minutes
Overview
Before you write any JavaScript, you need a place for your code to live. This lab sets up your workspace for the entire quarter β a GitHub repository that starts as a learning log and grows into your portfolio.
By the end of this lab, you'll have a live website where your work will be published throughout the quarter.
What You're Learning
- Creating a repository from a template (not forking)
- Enabling GitHub Pages for live publishing
- Maintaining consistent professional presence across platforms
- Verifying that your development environment is ready
Requirements
Set up your DESN 378 workspace:
- Create repository from template (not fork)
- Repository is public
-
PROFILE.mdfilled out completely - All profiles match (GitHub, Figma, CodePen) β same name, same photo
- GitHub Pages enabled and working
- Live portfolio link added to README
- VS Code extensions installed
Step-by-Step Guide
Step 1: Create Your Repository (5 min)
Go to the template repository: β github.com/sicxz/DESN-378-code-design-2
Click "Use this template" β "Create a new repository"
- β οΈ Do NOT fork β use the template button
Configure your new repo:
- Repository name:
DESN378-code-design-2(or similar) - Visibility: Public (required for GitHub Pages)
- Click Create repository
- Repository name:
Clone to your computer using GitHub Desktop:
- In GitHub Desktop: File β Clone Repository
- Find your new repo and clone it
Verify: You should see the starter files in your local folder:
βββ index.html
βββ css/styles.css
βββ scripts/main.js
βββ assets/
βββ labs/
βββ PROFILE.md
βββ README.md
Step 2: Fill Out Your Profile (10 min)
Open
PROFILE.mdin VS CodeFill out all sections:
- Your name
- Your @ewu.edu email
- Links to GitHub, Figma, CodePen profiles
- Short bio
Save the file
Why this matters: Recruiters and collaborators look at your profiles. Consistency builds trust.
Step 3: Synchronize Your Profiles (10 min)
Your online presence should be consistent across platforms:
| Platform | Update | Location |
|---|---|---|
| GitHub | Name, photo, bio | Settings β Profile |
| Figma | Same name, same photo | Settings β Account |
| CodePen | Same name, same photo | Settings β Profile |
Same name. Same photo. Professional presence.
Use a photo where your face is visible β the same one across all platforms.
Step 4: Enable GitHub Pages (5 min)
Go to your repository on GitHub.com
Click Settings β Pages (in the left sidebar)
Under "Source":
- Select Deploy from a branch
- Branch: main
- Folder: / (root)
- Click Save
Wait 2-3 minutes for the initial deployment
Your site will be live at:
https://yourusername.github.io/DESN378-code-design-2
Verify: Open your live URL. You should see the starter page.
Step 5: Update Your README (5 min)
Open
README.mdin VS CodeAt the top, add your live links:
# DESN 378: Code + Design 2 π **[Learning Log](https://yourusername.github.io/DESN378-code-design-2)** π **[DESN368 Portfolio](https://yourusername.github.io/your-368-repo)**Replace the template content with YOUR version (see Section 4 in the README for a starter template)
Save, commit, and push
Step 6: Verify Your Tools (5 min)
Open VS Code and confirm these extensions are installed:
| Extension | Purpose | How to Check |
|---|---|---|
| GitHub Copilot | AI code suggestions | Extensions panel β Search "Copilot" |
| Live Server | Local preview server | Extensions panel β Search "Live Server" |
| Prettier | Code formatting | Extensions panel β Search "Prettier" |
GitHub Copilot requires GitHub Student Developer Pack. If you don't have it:
- Go to education.github.com/benefits
- Verify with your @ewu.edu email
- Benefits activate within 24-48 hours
Complete Criteria
Your lab is complete when:
- Repository exists at
github.com/yourusername/DESN378-code-design-2 - Repository is public (not private)
-
PROFILE.mdis filled out with all your info - All three profiles match (GitHub, Figma, CodePen)
- GitHub Pages is enabled and your site is live
- README includes your live portfolio link
- VS Code has Copilot, Live Server, and Prettier installed
Stretch Goals
Done early? Try these:
- Customize your starter page β Edit
index.htmlto personalize the content - Add a custom favicon β Replace the placeholder in
assets/ - Explore the DevTools Field Guide β Preview the behavioral layer concepts we'll cover in class:
resources/dev-tools-fieldguide/index.html
Troubleshooting
"Use this template" button missing
Make sure you're signed into GitHub. The button only appears for logged-in users.
GitHub Pages shows 404
- Check Settings β Pages β is it pointing to the right branch?
- Wait a few minutes β first deployment takes time
- Make sure
index.htmlis in the root folder (not inside another folder) - Check the Actions tab for build errors
Profiles won't update
- GitHub: Changes may take a few minutes to propagate
- Figma: Make sure you're editing your personal account, not a team
- CodePen: Check Settings β Profile, not just the display name
VS Code extensions not working
- Make sure you're signed into GitHub in VS Code
- Try reloading VS Code (Cmd/Ctrl + Shift + P β "Reload Window")
- For Copilot: Check that your Student Pack is active
"I forked instead of using template"
Delete the forked repo and start over with "Use this template." Forks maintain a connection to the original repo that we don't want.
What's Next
With your workspace ready, you're prepared for the rest of Week 0:
- Lab 0-2: Console Explorer β Your first hands-on JavaScript experiments
- Lab 0-3: Portfolio Audit β Peer review of your DESN 368 work
Everything you build this quarter will live in this repository. By Week 10, it becomes your portfolio.
Submission
Submit to Canvas:
- Link to your GitHub repository
- Link to your live GitHub Pages site
- Screenshot showing all three profiles match (GitHub, Figma, CodePen side by side)
