Changed code from document.write to console.log, to work with JS Fiddle.
Changed code from document.write to console.log, to work with JS Fiddle.

lisafrench/javascript-exercises,lisafrench/javascript-exercises