Problem I’m working on a table component that is able to scroll through millions of lines of data. Not bad […]
Category: Javascript
JavaScript flood fill
Problem I tried to implement a very simple color flood fill to experiment a bit with Javascript. All comments about […]
Get character occurence count along with character in a string
Problem I want to find character sequence count in a given string. Sample Input: aaaabbbbaaacccbbb Output: a4b4a3c3b3 My below function […]
Frogger HTML5 JavaScript Canvas Game using Object Oriented Design
Problem I created a Frogger game using JavaScript and HTML5. The game runs fine, but that might be because the […]
Bootstrap dynamic dropdown items
Problem I’m trying to create a function for a dynamic dropdown. I have done it this way and it works, […]
Incrementing and decrementing 3 seperate input values by 1 using Javascript
Problem I have written the following Javascript code which increments and decrements 3 separate inputs by 1: //INCREMENTS/DECREMENTS BEDROOMS BY […]
Finding multiple documents
Problem I wrote a Mongoose Node/Express application. I have 4 documents. I am trying to write a route (end point) […]
jQuery – Repeating same actions on different DOM elements
Problem I feel like I’m violating a lot of DRY rules here but can’t think of a better way to […]
Attempt at Perl transliteration function in JavaScript with flags
Problem I’ve been trying to rewrite the perl transliteration function in javascript. This isn’t a complete replication, and I haven’t […]
Counting thousands of selected checkboxes
Problem This is a script I use to count how many items are selected in a form. It currently loops […]