Skip to content

Instantly share code, notes, and snippets.

View mdb1710's full-sized avatar

Michael Bonner mdb1710

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mdb1710 on github.
  • I am codebymdb (https://keybase.io/codebymdb) on keybase.
  • I have a public key ASDnFjd0SCe87V8OYf4xjIBwEIKx2CTXFWm3NA55ULxnkgo

To claim this, I am signing this object:

What is the best methods to handle event listeners
How can you filter through nested DOM elements
How does this affect accessibility
@mdb1710
mdb1710 / Login Page Task List
Last active April 24, 2019 14:25
Task List for Login Page
Back-End
1. Create Login Endpoint
2. Create Test for Login Endpoint
3. Create Auth Router
4. Create Auth Service
5. Implement JWT Middleware
6. Create Service method(s) for successful login
7. Create methods in Auth Router for successful and unsuccessful login
As a User - Search for user generated playists with an artist of my choosing
As a User - Search for the shared connection between two artists
As a user - To listen to samples of the playist or chosen artist
As a user - To choose to listen to music within app or outside app in separate link
As a user - To keep track of past searches and suggestions
As a user - To search by songwriter or producer or genre
As a user - To match playlists with music already on mobile device or computer
As a user - To have app be mobile friendly
As a artist - To market music to potential fans
@mdb1710
mdb1710 / Porfolio Base CSS
Created February 3, 2019 20:00
Portfolio Wireframe - HTML Version
* {
box-sizing: border-box;
}
body {
font-family: Raleway;
}
.intro {
@mdb1710
mdb1710 / Portfolio Wireframes.
Last active February 1, 2019 23:58
Portfolio Wireframes.
Wireframes with pictures.
@mdb1710
mdb1710 / 90sappphoto2.png
Last active February 1, 2019 23:42
Porfolio Draft
90sappphoto2.png
@mdb1710
mdb1710 / How Web Apps Work
Created January 25, 2019 01:26
Assignment for Thinkful Cohort
The client-server relationship is like a restaurant. You sit your table which is your chosen browser. You make your order by typing in the website url that you want. Once you hit enter the waiter receive your order and returns with the website document to the browser. It will also return with any extra files you need like when a waiter refreshes your drink and come back to the table to serve your other needs.
@mdb1710
mdb1710 / gist:fd9de8c26a48f08c565252bf602d7330
Created December 26, 2018 02:47
Description of Most Frequent Word Program
function getTokens(rawString) {
// NB: `.filter(Boolean)` removes any falsy items from an array
return rawString.toLowerCase().split(/[ ,!.";:-]+/).filter(Boolean).sort();
}
function mostFrequentWord(text) {
let words = getTokens(text);
//uses the getTokens function to make all words in text lowercase and takes out punctuation
let wordFrequencies = {};