reading-notes

Class 2 - The Coder’s Computer

Visual Studio Code Icon

Lab 2 - Set Up new terminal and VS Code

Computer Setup Guide

  1. Tree: Allow you to look at directory structure and files within a directory
  2. Node.js: Helps you execute a program in javascript
  3. ESLint: Find and fix problems in javascript

Read 1 - Learning Markdown Reflection and Discussion

Resources Link/Pages:

  1. Choosing a Text Editor
    • Most important Features to consider when choosing a text editor are code completion, syntax highlighting, variety of themes, and extensions to choose from.
  2. The Command Line
    • A command line or terminal is a text based interface where you can enter in commands that interact with your computer system.
  3. Basic Navigation
  4. About Files

Written Class Notes

Answer

  1. What are four important features to look for in a text editor?
    • Code completion, syntax highlighting, variety of themes, and extensions to choose from.
  2. What do the following commands do?
    • pwd: Stands for Print Working Directory and tells you what directory you are currently working on.
    • ls: Stands for list and tells you what is in the directory.
    • cd: Stands for change directory to a different directory by adding a name as an argument after or leaving it blank will take you back home
    • mkdir: Stands for make directory
    • touch: Creates a new file where you need to name and add what kind of file it is ex.README.md is markdown file, README.html is an HTML file.
  3. Can you explain what is happening in the following scenario if these commands and arguments are entered into the command line? (Arguments are extra instructions given to a command.)
    • cd projects: You change directory into the projects directory location.
    • mkdir new-project: You make a new directory titled new-project
    • touch new-project/newfile.md: You make a new markdown file within the new-project directory
    • cd ..: You change directory back to the previous directory you were working on
    • ls projects/new-project: You list the items in the new-project directory that is within the projects directory