Code repository for COMP1002 - HTML, CSS & JS Fundamentals - Winter 2026
Welcome to the COMP1002 GitHub Repository! This repo is your central hub for:
- 🧪 Lab sample files
- 📂 Assignment sample files
- 💻 Weekly code examples
- Click the Fork button at the top-right of this page.
- This creates your own copy of the COMP1002 repo under your GitHub account.
- Copy the URL of your fork (not the instructor’s).
- In GitHub Desktop, go to:
File → Clone Repository → paste your fork URL. - Now you have a local copy to work with on your computer.
- Add/edit lab files, assignments, or weekly examples as needed.
- Preview your changes in the browser and test before committing.
- Use GitHub Desktop or the command line to commit your changes.
- Push them back to your fork on GitHub.
When the instructor updates the original repo, your fork won’t automatically update. Here’s how to stay in sync:
-
Go to your fork on GitHub.
-
If you see a banner saying:
“This branch is X commits behind
<InstructorRepo>” Click Sync fork → Update branch. -
Done! Your fork now has the latest updates.
-
In GitHub Desktop, open your fork.
-
Go to Repository → Repository Settings… → Remotes.
-
Add a new remote called
upstreamwith the instructor’s repo URL. -
To update:
- Fetch upstream (from the menu).
- Merge upstream/main into your branch.
- Push origin to update your fork on GitHub.
- Always fork this repo instead of cloning directly from the instructor.
- Use your fork for labs, assignments, and experiments.
- Remember to sync your fork regularly so you have the latest examples and resources.
Course: **COMP1002 – HTML, CSS & JS Foundations ** Instructor: * Jessica Gilfillan *