Bootstrap: Modal Dialog Box

Sep 12, 2014
I had a post before about how to create a modal dialog box using native CSS and Javascript (no libraries). This time, I will make one using Bootstrap. Required: jQuery library Bootstrap CSS Bootstrap JS You may download the files or just place the following code inside your <head> tag. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"...
Read more ...

Next Line in Instagram Bio (iOS)

Sep 4, 2014
I've been an Instagram user for more than two (2) years now and I've just recently learned how to skip lines on the Bio field. I have maintained a few un-official accounts in Instagram such as insta_colorsplash and ol.shopper. However, it has always been a problem for me on how to make the bio so presentable and readable. Whenever I tap on the next key, it will always move me on the next input field. So I just...
Read more ...

Javascript: Check if Input is Palindrome

Sep 4, 2014
I had a past post about how to check if input is palindrome in C#. This one is another Javascript exercise with the same goal. Instructions: -create a function that determines the string input as palindrome -use arrays and loops to check if the string is a palindrome (try reading .split and join function, DO NOT USE REVERSE FUNCTION in javascript) -use text box to for string input -use button to determine output -insert text...
Read more ...

Javascript: Bubble Sort and Math.Random

Sep 3, 2014
We are given an exercise that needs to be solved using Javascript. *Bubble sort -ceate a function that returns a sorted array in ascending order -within the function, create an array with a size of 10 with random unique numbers (1-100) in it (to generate random numbers try using Math.random() function) -sort the random values then return the array *displaying the array -in respect to problem 1, display the returned array...
Read more ...