Posts by Jay

Modularizing Your Bootstrap Template With Zurb Panini

Recently I’ve been doing web development with Bootstrap. I felt there must be a better way than constantly adding the same head tag with minor modification for title. As development progress, the same header, navigation, footer, and side bar elements of each page need to be added as well. Repeating these many times can introduce…

Read More

What I Learned From Two Weeks of Intense Coding in Java

Recently I was finishing up a team project for a class on Java. It was the most intense coding session I’ve experienced for two weeks. For reasons I won’t get into I ended up doing all the coding for the project. Here’s what I learned. I Learned a Lot When I Had to Code Everything…

Read More

FCC: Sorted Union (JavaScript Intermediate Algorithm)

In FCC Challenge Sorted Union we’re tasked with flattening an array that has multiple arrays and removing duplicates in the array while still keeping the same array order. function uniteUnique(arr) { return arr; } uniteUnique([1, 3, 2], [5, 2, 1, 4], [2, 1]); Because the number of arguments passed into the function is random we…

Read More

FCC: Boo Who (JavaScript Intermediate Algorithm)

In FCC challenge Boo Who we’re trying to determine values being passed into the booWho function is a boolean. function booWho(bool) { // What is the new fad diet for ghost developers? The Boolean. return bool; } booWho(null); To determine whether the value in a variable is boolean or another type we can use the…

Read More

FCC: Missing Letters (JavaScript Intermediate Algorithm)

In FCC challenge Missing Letters we’re tasked with finding the missing letter in a string of sorted alphabets: function fearNotLetter(str) { return str; } fearNotLetter("abce"); First we need to convert the string of alphabets to their UTF-16 unicode equivalent using the charCodeAt function. Then store the unicode in an array for comparison. for (let x…

Read More

FCC: DNA Pairing (JavaScript Intermediate Algorithm)

In FCC challenge DNA Pairing we’re generating pairing of DNA and then inserting it into a multidimensional array. function pairElement(str) { return str; } pairElement("GCG"); We first need to split the str string into an array. Putting each letter in the array allows us to use the forEach function for each element of the array.…

Read More