Skip to content

Ada-Activities/javascript-functions-activity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS Functions Activity

An activity to practice working with functions and closures in Javascript.

One-Time Setup

  1. Fork and clone this repository.

  2. In your terminal, navigate to the project directory.

  3. Install the project dependencies.

    $ npm install

Running the Activity

  1. In your terminal, navigate to the project directory.

  2. Run the activity.

  • In the terminal from the project directory, run the following command:

    $ node src/index.js

    Or

    $ npm start
  • Or from VS Code, install the Code Runner extension and run the file by clicking the play button in the top right corner of the editor.

Syntax Warnings

The project is configured to use ESLint to provide syntax warnings. ESLint can be run from the project directory using the following command:

$ npm run lint

ESLint warnings can be shown in VS Code by installing the ESLint extension.

Activity Directions

Examine the Javascript code in src/index.js. Follow the written instructions to practice using functions in Javascript.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published