Skip to content

KoxyG/WID-EVICTION-TASK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Classwork - Arrays, OOP, and Error Handling

Welcome to your JavaScript classwork repository! This project contains three tasks to help you practice Arrays & Array Methods, Object-Oriented Programming (OOP), and Error Handling using try-catch in JavaScript.

Task Overview

You will work on the following tasks:

  • Arrays & Array Methods: Working with arrays and using built-in array methods like .map(), .reduce(), and .filter().
  • Object-Oriented Programming (OOP): Creating a class, adding methods, and understanding basic OOP concepts.
  • Error Handling: Using try and catch for error handling in a function that divides numbers.

Instructions

Fork the Repository

  1. Click on the Fork button in the top right corner of this page to create your own copy of this repository.

Work on the Tasks

  1. After forking, clone the repository to your local machine or work directly from GitHub.
  2. Complete the following tasks:
    • Task 1: Arrays & Array Methods - Modify and manipulate arrays using various methods like .map(), .reduce(), etc.
    • Task 2: Object-Oriented Programming - Create a Car class with properties and methods.
    • Task 3: Error Handling - Implement try-catch to handle errors in a function.

GitHub Structure

Your repository should contain the following files:

  • arrays_methods/task1.js (Arrays & Array Methods task)
  • oop/task2.js (Object-Oriented Programming task)
  • error_handling/task3.js (Error Handling task)
  • README.md (This file with task instructions)

Testing

Make sure to test your functions and methods with various inputs to ensure your code works as expected.

Create a Pull Request (PR)

Once you've completed all the tasks and pushed your changes to your forked GitHub repository:

  1. Go to the original repository (the one you forked from).
  2. Click on the Pull Request tab.
  3. Click on the New Pull Request button.
  4. Provide a title and description for your PR (e.g., "Complete JavaScript classwork").
  5. Submit the pull request to the main branch of the original repository.

Submit Your PR

After creating the PR, submit the GitHub PR URL via the Google Form provided by your instructor.

About

Women In Defi eviction test for WIDWeb2C2 training

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors