This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Ecomerce Platform</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style type="text/css"> | |
body { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Lettering.js Examples</title> | |
<meta name="description" content="A jQuery Plugin that allows you to style each individual letter and more."> | |
<meta name="author" content="Dave Rupert"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Mocha Tests</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<link rel="stylesheet" href="https://unpkg.com/mocha/mocha.css" /> | |
</head> | |
<body> | |
<div id="mocha"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const calculator = (function () { | |
/** | |
* Remove non-numeric strings from the array | |
* @param {Array} nums The original array | |
* @return {Array} The cleaned array | |
*/ | |
function cleanNumbers (nums) { | |
let cleaned = []; | |
for (let num of nums) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const calculator = (function () { | |
/** | |
* Add two or more numbers together | |
* @param {...Numbers} nums The numbers to add together | |
* @return Number The total | |
*/ | |
function add (...nums) { | |
let total = 0; | |
for (let num of nums) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const calculator = (function () { | |
/** | |
* Add two or more numbers together | |
* @param {...Numbers} nums The numbers to add together | |
* @return Number The total | |
*/ | |
function add (...nums) { | |
let total = nums.length ? nums.shift() : 0; | |
for (let num of nums) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Add two or more numbers together | |
* @param {...Numbers} nums The numbers to add together | |
* @return Number The total | |
*/ | |
function add (...nums) { | |
let total = nums.length ? nums.shift() : 0; | |
for (let num of nums) { | |
if (Number.isNaN(num)) continue; | |
total = total + num; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Add two or more numbers together | |
* @param {...Numbers} nums The numbers to add together | |
* @return Number The total | |
*/ | |
function add (...nums) { | |
let total = nums.length ? nums.shift() : 0; | |
for (let num of nums) { | |
if (Number.isNaN(num)) continue; | |
total = total + num; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @section General Code Styles | |
*/ | |
code, | |
kbd, | |
pre, | |
samp { | |
font-family: Menlo, Monaco, "Courier New", monospace; | |
font-size: 0.875em; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Toggle Password</title> | |
<style type="text/css"> | |
body { | |
margin: 1em auto; | |
max-width: 30em; | |
width: 88%; |
NewerOlder