4) Master Project: Setting up E-commerce Project Flashcards

1
Q

-+Series of steps for cloning a public repo to your local and being able to push changes.

A
  1. Fork it (top right hand corner of repo)
  2. get the link for the public repo
  3. in the terminal: “git clone *paste-link* new-name
  4. cd to the new repo
  5. git remote remove origin
  6. create a repository on your github
  7. git remote add origin *paste link to new repo*
  8. git push origin master
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When you first create a new React project, which files in the src folder hold code that should be deleted?

A

index.js

App.js

App.css

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to include SASS in a project?

A
  1. in terminal: “npm add node-sass” (*create-react-app comes with sass configurations built in, you just have to install it.)
  2. create a sass file for the component and import it into the component file.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is the package.lock file good for?

A

making sure that dependencies are consistent across all machines that run the application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what developer tool helps you seee how your components are organized?

A

inspect components tab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Where should page components folder be placed and why?

A

in the pages folder because it is fundamentally different from regular components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly