https://github.com/andrewjbateman/javascript-array-functions
:clipboard: Practise using map, sort, reduce and filter functions, from https://JavaScript30.com, Wes Bos course.
https://github.com/andrewjbateman/javascript-array-functions
css html javascript javascript30
Last synced: 3 months ago
JSON representation
:clipboard: Practise using map, sort, reduce and filter functions, from https://JavaScript30.com, Wes Bos course.
- Host: GitHub
- URL: https://github.com/andrewjbateman/javascript-array-functions
- Owner: AndrewJBateman
- Created: 2018-11-11T19:13:55.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-15T19:12:51.000Z (almost 4 years ago)
- Last Synced: 2025-08-15T23:45:29.551Z (5 months ago)
- Topics: css, html, javascript, javascript30
- Language: JavaScript
- Homepage:
- Size: 580 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# :zap: Javascript Array Functions
* Wes Bos Youtube Tutorial: [JavaScript Array Cardio Practice - Day 1 — #JavaScript30 4/30](https://www.youtube.com/watch?v=HB1ZC7czKRs&list=PLu8EoSxDXHP6CGK4YVJhL_VWetA865GOH&index=4).
* **Note:** to open web links in a new window use: _ctrl+click on link_




## :page_facing_up: Table of contents
* [:zap: Javascript Array Functions](#zap-javascript-array-functions)
* [:page_facing_up: Table of contents](#page_facing_up-table-of-contents)
* [:books: General info](#books-general-info)
* [:camera: Screenshots](#camera-screenshots)
* [:signal_strength: Technologies](#signal_strength-technologies)
* [:floppy_disk: Setup](#floppy_disk-setup)
* [:computer: Code Examples](#computer-code-examples)
* [:cool: Features](#cool-features)
* [:clipboard: Status & To-Do List](#clipboard-status--to-do-list)
* [:clap: Inspiration](#clap-inspiration)
* [:file_folder: License](#file_folder-license)
* [:envelope: Contact](#envelope-contact)
## :books: General info
* Tutorial Code using javascript array methods.
## :camera: Screenshots
.
.
## :signal_strength: Technologies
* Ran in Google Chrome browser with: [Javascript engine V8 for Windows (x64)](https://v8.dev/).
## :floppy_disk: Setup
* Open `index.html` in browser. If any code is changed the browser needs to be refreshed. Some code is commented out as it is meant to be used with a particular web link.
## :computer: Code Examples
* Sort method used to order an array by birth date.
```javascript
// 5. Sort the inventors by years lived
const yearsLived = inventors.sort((a,b) => (a.passed - a.year) > (b.passed - b.year)? 1 : -1);
console.table('inventors sorted by years lived', yearsLived);
```
## :cool: Features
* Includes code to filter DOM elements for key words.
## :clipboard: Status & To-Do List
* Status: Working.
* To-Do: Nothing.
## :clap: Inspiration
* Wes Bos Youtube Tutorial: [JavaScript Array Cardio Practice - Day 1 — #JavaScript30 4/30](https://www.youtube.com/watch?v=HB1ZC7czKRs&list=PLu8EoSxDXHP6CGK4YVJhL_VWetA865GOH&index=4).
## :file_folder: License
* N/A
## :envelope: Contact
* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com