Giter VIP home page Giter VIP logo

lab-native-array-methods-pt2's Introduction

๐Ÿš€ Lab: Native Array Methods pt.2

This lab is an opportunity to enhance your JavaScript skills through hands-on practice with array methods forEach, map, find, some/every, and sort().

Getting Started

1. ๐Ÿด Clone the Repository (from Github)

  • On the GitHub page of this repository, click the green "Code" button.
  • Copy the URL provided under "Clone with HTTPS".
  • Open your terminal and execute:
    git clone [paste the URL here]
    
  • This command clones the repository to your local machine.

1a. ๐Ÿด Clone the Repository (without Github)

  1. Clone the Repository Directly:

    • Open your terminal on your local machine.
  2. Clone Using Terminal:

    • Execute the following command to clone the repository (replace [paste the URL here] with the URL you provided):
      git clone https://github.com/CastonPursuit/Lab-Native-Array-Methods-Pt2.git
      
    • This command will clone the repository to your local machine.

2. ๐Ÿ” Explore the Problems

  • In your terminal, navigate to the cloned repository's directory:
     cd Lab-Native-Array-Methods-Pt2
    
  • Open the project in VS Code by typing:
    code .
    
  • You will find the index.js file containing 20 problems, each using a different array method.

3. ๐Ÿ’ก Work on the Problems

  • Each problem in index.js focuses on practicing a specific array method.
  • Read the instructions for each problem and try to solve it.
  • Use console.log() within your solutions to output results.

4. ๐Ÿƒ Run Your Code

  • Test your solutions by running:
    node index.js
    
  • This command executes your code in index.js, allowing you to see the output in the terminal.

5. ๐Ÿงช Test Your Solutions

  • To ensure your solutions are correct, use:
    npm test
    
  • This will run any predefined tests to validate your solutions.

6. ๐Ÿ’พ Save Your Progress

  • After solving each problem and verifying your solution, commit your progress:
    git add .
    git commit -m 'Completed problem # using Y method'
    
  • Replace # with the problem number and Y with the array method used.

7. ๐Ÿ”„ Repeat

  • Continue working through each problem, running your code, testing, and committing your solutions.

8. ๐Ÿš€ Next Steps

  • After completing all the problems, you're ready for the next phase of your learning journey.
  • In the upcoming lesson, you'll learn how to push your solutions back to GitHub, sharing your progress and receiving feedback.

9. ๐Ÿ†˜ Need Help?

  • If you find yourself stuck on a problem, don't hesitate to review the MDN Web Docs on Array methods.
  • Collaboration is key to learning. Feel free to discuss approaches with your peers or reach out to a coach for guidance.

lab-native-array-methods-pt2's People

Contributors

castonpursuit avatar cleebenjamin avatar davidcruzesk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.