Eshwari247 / init_exercises

0 stars 0 forks source link

Ex1: Fizzbuzz in javascript & typescript environment #5

Closed Eshwari247 closed 1 year ago

Eshwari247 commented 1 year ago

Write a program to print the numbers from 1 to 100, taking into consideration the following points: If the number is a dividable by 3, the program prints Fizz If the number is dividable by 5, the program prints Buzz If the number is dividable by 3 AND 5, the program prints FizzBuzz The program should be developed using node.js and javascript Also, construct eslint environment using vscode In eslint make the rule ”extends”: eslint: recommended”

Eshwari247 commented 1 year ago

ref links - type script basics : https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html

knowing the differences : https://radixweb.com/blog/typescript-vs-javascript

ESLint documentation : https://www.digitalocean.com/community/tutorials/linting-and-formatting-with-eslint-in-vs-code

learnings- tsc cli command - typescript conversion into javascript node \name js file - run the javascript file tsc-node - directly compile the typescript file

GIT CLI commands - upload files to Github Configure Git -> Initialize a Git Repository -> Add and Commit Your Changes -> Push to GitHub-> Authentication->Verification