Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.91 KB

File metadata and controls

36 lines (24 loc) · 1.91 KB

Conditionals in JavaScript

This repository contains a set of tasks to practice conditionals in JavaScript, specifically if..else and switch statements.

Getting Started

To get started, please follow the instructions below:

  1. Fork this repository by clicking on the "Fork" button on the top right corner of the page
  2. Clone the repository to your local machine by running git clone in your terminal. Replace with the actual URL of the repository.
  3. Navigate to the cloned repository using the cd command in your terminal. This should be the folder that contains the switchStatement.js and ifStatement.js files.
  4. Open the ifStatement.js file in your code editor and start working on the tasks related to if-else statements.
  5. Open the switchStatement.js file in your code editor and start working on the tasks related to switch statements.
  6. Follow the instructions provided in the task descriptions to complete each task.
  7. Make sure to work on both files and complete all the tasks in both files.

Submitting the Task

After completing the tasks, please follow the instructions below to submit your work:

  1. Run git add . in your terminal to track the changes
  2. Run git commit -m "<commit-message>" to stage the changes
  3. Run git push to push the changes to your forked repository
  4. Create a pull request to submit your work for review

Please note that you must fork the repository before cloning it.

Resources

Here are some resources that you may find helpful:

Enjoy the journey! 😃