Course content

Class 1 · Your Developer Toolkit

Set up the tools every developer opens every working day: the command line, VS Code, Git and GitHub.

By the end of this class you will be able to

  • Install and verify VS Code, Git, Node.js and Python
  • Open a terminal and move around your folders with commands
  • Create a project and open it in VS Code with code .
  • Save versions of your work with Git: init, add, commit
  • Publish your code to GitHub and work with branches and pull requests

Topics covered

Install checklist
VS Code, Git, Node.js (LTS), Python 3 with Add to PATH, a GitHub account; verify each with --version in a new terminal.
The command line
Prompts, absolute and relative paths, cd, ls/dir, mkdir, running files with node and python, Tab completion, Ctrl + C.
VS Code
Layout, daily shortcuts, extensions (Prettier, ESLint, Live Server, GitLens) and format on save.
Git basics
Working folder, staging area, local repository, remote; git init, status, add, commit, log.
GitHub
Create a repository, git remote add origin, git push -u origin main.
Team workflow
Branches, conventional commit messages, pull requests, code review, merge conflicts, .gitignore.

Assignment

  1. Create a portfolio folder from the terminal only: index.html, README.md, css/style.css, js/app.js
  2. Make at least 5 commits with clear messages
  3. Create branch feature/about, add an About section and merge it into main
  4. Push to a public GitHub repository with a README
  5. Bonus: finish the first 4 levels of learngitbranching.js.org

Submit your GitHub repository link to your instructor. Then take the class quiz.

Documentation and practice

Set up the tools every developer opens every working day: the command line, VS Code, Git and GitHub.

Rating
0 0

There are no comments for now.

to be the first to leave a comment.