Giter Site home page Giter Site logo

hieuhuule / javascript-foundations-challenges Goto Github PK

View Code? Open in Web Editor NEW

This project forked from learn-academy-2022-echo/javascript-foundations-challenges

0.0 0.0 0.0 4.21 MB

Foundational JavaScript challenges for the Echo cohort.

JavaScript 100.00%

javascript-foundations-challenges's Introduction

Javascript Foundations Challenges

This repository holds the foundational JavaScript pair programming challenges for the Echo 2022 cohort.

Process Notes

  • Anything wrapped in < > is an indication that this will be named uniquely, the < > are NOT actually added to the command
  • $ is an indication of a command line prompt, the $ is not included
  • Anything in ( ) is informational and not included in the command
  • The term local/locally means on your personal computer
  • The term remote means on GitHub

Naming Conventions

Branches and file names should be in all lowercase letters:

  • Branch name: topic-initials1-initials2 (ex. arrays-aw-sp)
  • File name: topic-student1-student2.js (ex. arrays-austin-sarah.js)

Informational Commands

Use this informational command to tell you what files have been modified and what phase of the git process you are on:

  • $ git status

Use this informational command to see what branch you are currently on:

  • $ git branch

Cloning a Repository

Use this command if you don't have the repository (folder) on your local machine:

  • $ git clone <repo-url> (pasted from clipboard on GitHub)

Create a Branch

Use this command if you need to create a branch that does not exist anywhere:

  • $ git checkout -b <topic-initials1-initials2> (ex. hof-aw-sp)

Moving to an Existing Local Branch

Use this informational command to see what branches exist on your local machine:

  • $ git branch

Use this command to move to a branch that exist on your local machine:

  • $ git checkout <branch-name>

Updating an Existing Repository

Use this command if you DO have the repository on your local machine but DON'T have the latest version of the code from GitHub:

  • $ git pull origin <branch-name>

Moving to an Existing GitHub Branch

Use these commands if the repo you are working on has a branch but it is NOT on your local machine:

  • $ git fetch origin <branch-name>
  • $ git checkout <branch-name>

Adding Local Code to GitHub

Use these commands to add the code you have on your local machine to GitHub:

  • $ pwd (ensure you are in the repository level)
  • $ git status (informational command, ensure you are on the correct branch and in the correct directory)
  • $ git add <file-name>
  • $ git commit -m "message describing the work that was accomplished"
  • $ git push origin <branch-name>

Deleting a Branch

Branches exist on your local and on the remote. Always delete your branch in both places.

  • Branches in GitHub can be deleted via the GUI
  • $ git branch -d <branch-name>

javascript-foundations-challenges's People

Contributors

dnlclmnt avatar cathrinec avatar hieuhuule avatar jmagistrado avatar elijahbcodes avatar holdenprine avatar luislaurel avatar roeckerc avatar jpd99 avatar heavyarms0511 avatar fpsolis219 avatar vkathryn avatar walkertexas-coder avatar hmgonzalezjm avatar kellychan56 avatar resetreesi avatar tuanlevietz avatar sanjuel avatar addisdave avatar rgilliam83 avatar

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.