I hereby claim:
- I am hannaliebl on github.
- I am hannaliebl (https://keybase.io/hannaliebl) on keybase.
- I have a public key ASCTk7Zf0cg_7IdfwtEJj061p7nsXQO9Sta64jmYAeJwxwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
//two main tasks are 'gulp watch' and 'gulp build' | |
//dependencies: | |
var gulp = require('gulp'); | |
//to use in conjunction with chrome plugin: | |
livereload = require('gulp-livereload'); | |
//for css: | |
sass = require('gulp-sass'), | |
autoprefixer = require('gulp-autoprefixer'), | |
minifycss = reqwuire('gulp-minify-css'), |
function makeCounter () { | |
var counter = 0; | |
var commands = []; | |
return function (str) { | |
if (str === "inc") { | |
counter = counter + 1; | |
commands.push("inc"); | |
return counter; | |
} else if (str === "dec") { | |
counter = counter - 1; |
$(function () { | |
var user_number = prompt('Enter a number!'); | |
for (var index = 1; index <= user_number; index += 1) { | |
if (index % 3 === 0 && index % 5 === 0) { | |
document.write('fizzbuzz' + '<br />'); | |
} else if (index % 3 === 0) { | |
document.write('fizz' + '<br />'); | |
} else if (index % 5 === 0) { | |
document.write('buzz' + '<br />') | |
} else { |