Git Product home page Git Product logo

loosenthedark / traversy-media-filterable-list-js-project Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 13 KB

Adaptation of a vanilla JavaScript mini-project taken from a Traversy Media video tutorial. Practices involved: remembering to use toUpperCase() when building search bar input elements, traversing the DOM, using indexOf() > -1 to implement search functionality, a 'for' loop and an 'if/else' conditional statement

Home Page: https://loosenthedark.github.io/traversy-media-filterable-list-js-project/

HTML 100.00%
html5 css3 frontend dom-traversal javascript searchbar filter-lists traversy-media event-listener

traversy-media-filterable-list-js-project's Introduction

Filterable List

Adapted from a Traversy Media vanilla JavaScript tutorial on YouTube: https://www.youtube.com/watch?v=G1eW3Oi6uoc&list=PLillGF-RfqbbnEGy3ROiLWk7JMCuSyQtX&index=7

Brad's project code: https://www.youtube.com/redirect?q=http%3A%2F%2Fwww.traversymedia.com%2Fdownloads%2Ffilterablelist.zip&redir_token=BLsQELqPJrZHtrPM19xOJa5yQed8MTU3MDQ3ODQwMEAxNTcwMzkyMDAw&event=video_description&v=G1eW3Oi6uoc

Alternative code provided by Damian Balas on GH:

https://www.youtube.com/redirect?q=https%3A%2F%2Fgithub.com%2Fdamian-balas%2Ffilterable-list&stzid=UgyKtQatqhi9iSeDh3B4AaABAg&redir_token=9uFnc1S-qa4J08yBjd6yoWJst2d8MTU3MDUyNDcxMUAxNTcwNDM4MzEx&event=comments in line with his advice:

"1. don't use let if you won't change the value of the variable, use const instead. (const foo = document.querySelector('.bar');

2. Don't use for loops, in 99% you can use .forEach()

3. IndexOf is old too, you can use .includes() or the .filter() option"

Link to deployed site:

https://loosenthedark.github.io/traversy-media-filterable-list-js-project

traversy-media-filterable-list-js-project's People

Contributors

loosenthedark avatar

Stargazers

 avatar

Watchers

 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.