Skip to content

thompsonmikej/Advanced-Array-Methods-Lab_Live

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dCC-Advanced-Array-Methods-Lab

Developed at devCodeCamp

Practice using JavaScript's powerful higher-order array methods—map(), filter(), and reduce()—to solve array manipulation challenges. This hands-on lab reinforces functional programming patterns for transforming, filtering, and summarizing data efficiently.


Overview

  • Learn and apply:
    • map() – Transform each element in an array and return a new array of the same length.
    • filter() – Select array elements that meet specific conditions and return a new, shorter array.
    • reduce() – Aggregate all elements in an array into a single result (sum, average, etc.)

Features

  • Search and transform arrays with map()
  • Filter datasets dynamically with filter()
  • Summarize or aggregate data using reduce()
  • Practice problems with immediate feedback via console output

Technologies Used

  • JavaScript (ES6+)

Setup & Usage

  1. Download or clone this repository:
    git clone https://github.com/thompsonmikej/AdvancedArrayMethods_Lab_Live.git
    cd AdvancedArrayMethods_Lab_Live
    
  2. Unzip and open in Visual Studio Code (or your preferred editor).
  3. Open index.html with your browser.
  4. Use DevTools Console to view and test your solutions in app.js.
  5. Work through each problem from the top of app.js, using console.log() for validation.

Challenges & Lessons Learned

  • Practiced functional programming thinking to transform, filter, and reduce data efficiently.
  • Developed problem-solving skills with core array methods and real-world datasets.
  • Gained confidence in chaining and combining multiple array operations for complex data tasks.

Future Improvements

  • Add more array method challenges (e.g., find(), some(), every()).
  • Visualize results directly on the webpage for better interactivity.
  • Include performance comparisons and best-practices notes.

Author

Feel free to reach out or connect:

Michael Thompson
https://www.linkedin.com/in/thompsonmikej

About

This exercise is intended for practice with the .filter() and .map() advanced array methods.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published