Skip to content

adevadeh/js-homework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

js-homework

Assignments

The assignments can be found in the default branch. They should each take 30-90 minutes, and are meant to go along with a background in pre-algebra and brief discussion of the Newtonian model of Gravity.

You need a text editor and access to git. The code can be edited in any text editor, and can be run using NodeJS on the command line. For example:

$ node assignment1.js

You can also run your JS code in a browser using a tool such as CodePen or JSBin. Note that the output will appear in the console section of the browser.

Topics Covered

  • Functions, paramaters, mathematical operations
  • Calling functions, building on top of your functions
  • Basic loops and conditionals

Getting the Code and Submitting Your Work

Use git clone to copy the code to your computer. Edit and run the code on your computer, committing your solutions to your branch. Then you can submit your solutions in your branch. If you want to get new assignments, merge default into your branch.

$ git clone git@github.com:adevadeh/js-homework.git
$ cd js-homework
$ git checkout -b <my-github-username>
$ git commit <commit my solutions>
$ git push origin <my-github-username>
$ git push --set-upstream origin <my-github-username>
    # After setting the upstream branch, you can simply use the push/pull 
    # commands without naming a branch
$ git pull              # Pull in any updates
$ git add .             # Add your changed files to the commit
$ git commit -m 'add a commit message'
$ git push              # push your changes to the remote repo

Contributions

If you wish to edit the lessons, clarify questions, improve the framing, or fix typos, please submit a pull request on the default branch. Make sure that your changes are relative to the default branch, we don't want any solutions committed there.

About

homework tasks for intro to JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •