Giter VIP home page Giter VIP logo

git-react-practice's Introduction

Purpose

This is an overly complicated git cheat sheet project, created to provide react practice while turning my git cheat sheet into a webpage.

Getting started

  1. Fork this project
  2. Click “Clone or download” button and copy the link
  3. Using command line (ex. Terminal on Mac, Command Prompt on Windows), change to the directory where you want to save (for example, if you want to save to desktop: cd Desktop)
  4. Clone the project: git clone {paste link from step 2 here} (ex. git clone https://github.com/heatem/git-react-practice.git)
  5. Change into the project folder (cd git-react-practice)
  6. Check for NPM: npm -v (to confirm npm is installed. If not, check this out treehouse.github.io/installation-guides/mac/node-mac.html)
  7. Install Gatsby: npm install -g gatsby-cli (might need to do sudo npm install -g gatsby-cli)
  8. Run npm install
  9. Run gatsby develop to start your local server
  10. In your browser (ex. Chrome, Firefox), go to localhost:8000 to see your site

Continuing work

  1. Using command line, cd into the project folder and run gatsby develop to start your local server
  2. Edit your code in your IDE/text editor of choice (ex. Visual Studio Code, Sublime Text)
  3. In your browser, go to localhost:8000 to see your site

Open the project in your text editor/IDE (ex. VS Code). I have put some git commands in the index.js file (path: git-react-practice/src/pages/index.js).

  • Task 1: Create a components folder
  • Task 2: Create a header component for the title of the page and replace the h3 in the index.js file with the component
  • Task 3: Create component(s) for each section of the cheat sheet in the way you see fit, then replace the html with the components in index.js
  • Bonus: Style any/all components

Give yourself credit

If you contribute, add your name (once) to the Contributors list. Go to the Contributors.js file (src/components/Contributors.js) and add a new list item with your name.

See the site live

https://eager-jones-9b1bbe.netlify.com/(https://eager-jones-9b1bbe.netlify.com/

git-react-practice's People

Contributors

heatem avatar ledfordjs avatar dependabot[bot] avatar toniaseenauth avatar

Watchers

James Cloos avatar  avatar  avatar

git-react-practice's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.