Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

JavaScriptFrameworksAssignment2

Project Overview

This project demonstrates the use of Node.js and ES modules to create and import custom functions. The assignment consists of two JavaScript files:

app.js – The entry point that imports and invokes functions.

utilities.js – A module that defines at least four functions.

Folder Structure

JavaScriptFrameworksAssignment2/

-README.md

Lab2-JS-frameworks/

-app.js # Entry point to invoke functions

-utilities.js # Contains function definitions

-package.json # Project metadata

-README.md # Project description

Functions Implemented

-welcomeUser(firstName, lastName) – Prints a welcome message.

-celsiusToFahrenheit(celsius) – Converts Celsius to Fahrenheit.

-factorial(n) – Computes the factorial of a given number.

-getRandomNumber(min, max) – Generates a random number within a given range.

Running the Project

-Ensure Node.js is installed.

-Open the terminal and navigate to the project folder.

-Run the following command: node app.js

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages