Skip to content

TTS-Curriculum/javascript-functions-1-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloning and Pushing to Your Own Repository

  1. Fork this repository by clicking the "Fork" button in the top right corner of this page. This will create a copy of this repository in your GitHub account.
  2. Clone your forked repository to your local machine using the following command in your terminal:
    • git clone https://github.com/your-username/javascript-functions-1-assignment.git
    • Replace your-username with your GitHub username.
  3. Make changes to the files in your local repository as directed in the exercises.
  4. After making changes, add, commit and push your changes to your remote repository using the following commands in your terminal:
git add .
git commit -m "Add changes as directed in the exercises"
git push origin main

Replace main with the name of the branch you want

Functions in Javascript

Your Task:

  1. Define a function in script.js that is named numberAdder
    • numberAdder should take 2 parameters and it should return the sum of those two values
    • After you're done, try looking around at the CSS and HTML to see if you understand what's going on :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published