Completely custom bullet points using Font Awesome.
Forked from Kieran Hunter's Pen Custom Bullet Points.
A Pen by Robert Young on CodePen.
//parse query string value from URL | |
function getQueryVariable(variable) { | |
var query = window.location.search.substring(1); | |
var vars = query.split('&'); | |
for (var i = 0; i < vars.length; i++) { | |
var pair = vars[i].split('='); | |
if (pair[0] === variable) { | |
return pair[1]; | |
} |
Completely custom bullet points using Font Awesome.
Forked from Kieran Hunter's Pen Custom Bullet Points.
A Pen by Robert Young on CodePen.
<!DOCTYPE html> | |
<head> | |
<title>On page highlighting</title> | |
<style type="text/css"> | |
.effect | |
{ | |
-webkit-box-shadow: 0 10px 6px -6px #777; | |
-moz-box-shadow: 0 10px 6px -6px #777; | |
box-shadow: 0 10px 6px -6px #777; | |
} |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<link rel="stylesheet" type="text/css" href="problems.css" /> | |
<title>Randomizing data in an array</title> | |
</head> | |
<body> | |
<h2>Randomizing data in an array</h2> |
// The name of the spreadsheet from the browser location bar. | |
// Copy after 'key=' until before the next URL parameter beginning w/& | |
var SPREADSHEET_ID = '0AlwGAPH865x-dG55Y3A4STE3N3d1d1RsX0EtblB3elE'; | |
// The name of the sheet, displayed in a tab at the bottom of the spreadsheet. | |
// Default is 'Sheet1' for new files. | |
var SHEET_NAME = 'top10'; | |
function doGet(request) { | |
var callback = request.parameters.jsonp; |
var maxNum = 100; | |
for (i = 1; i <= maxNum; i++) { | |
if (i % 15 === 0) { | |
console.log("FizzBuzz"); | |
} else if (i % 3 === 0){ | |
console.log("Fizz"); | |
} else if (i % 5 === 0) { | |
console.log("Buzz"); | |
} else { |