Hacker Scavenger Hunt

Google Form:

https://docs.google.com/forms/d/1e1AcY_FzsuW7rUBR4Z29SsQvj9ozcU74ioLhaiySF6g/edit

Git

  1. What does the man page say git init does?
  2. What's the git command alphabetically before status? Hint: you'll need to find a comprehensive list of git commands

Website

  1. In workspace, create a folder called website. What was the command you executed?
  2. Using the command line, create a file index.html using the command line. What was the command you executed?
  3. Inside website, create the following directories: src and img. What was the command(s) you executed?
  4. Inside src, create the following directories: script, styles using only one command. What was the command you executed?
  5. From the website dir, what command would you use to create an index.css file inside of styles?

React App

Part 1

  1. In the package.json, what version of through-2 is specified? Hint: VS Code has a method to search in files

  2. In the same file, what are the dependencies for tar-pack?

  3. How many files are in the chalk node module? (including hidden files)

  4. In the node module for create-react-app, what is the file size (in KB) of index.js?

  5. In the same node module, for create-react-app, what are the permissions for README.md?

  6. In the node module for validate-npm-package-name, who holds the copyright? Hint: look for a license file

Part 2

  1. From inside the workspace directory, execute the command npm install -g create-react-app

  2. create-react-app <your-app-name> to create a React App

  3. Navigate into the folder with the React app you just created (Hint: it is the folder with the name your-app-name that you just entered

  4. npm start to start the development server. Hint: when your development server is running, that termianl tab will be occupied. Open a new tab to run commands.

  5. Change the filepath from the logo.svg icon to an image of your choice (class-appropriate). Hint: App.js is where you want to look

  6. Change the text from Welcome to React to <your name>.

  7. Take a screenshot and submit for proof.

Vim

In a new terminal window, execute vi

  1. How do you quit Vim? (Knowing how to quite Vim is an important skill!)