Skip to content

vsb-js/template-lab-02-2023w

Repository files navigation

labs-02

Description

Task 1 Install axios and prettier, scripts

  1. Install axios package as dependency (npm i axios) - you can find instruction on website or in presentation.
  2. Install prettier as dev dependency package (npm i prettier --save-dev) presentation.
  3. Create new script in package.json to run prettier for every js file in project. So this command npm run prettier has to work and it will fix all your files in project. Custom scripts - the command for prettier to format your files is prettier --write . So when you run npm run prettier it should execute prettier --write .

Task 2

  • Implement functions in task-basic.js file. You can run the file with command node task-basic.js in terminal.

Task 3

  • Implement functions in task-objects.js file. You can run the file with command node task-objects.js in terminal.

Task 4

  • Implement functions in taks-read.js file. You can run the file with command node task-read.js in terminal.

Task 5

  • Implment functions in task-axios file. You can run the file with command node task-axios.js in terminal.

BONUS:

  • Implement functions in task-bonus.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published