├── .gitignore ├── .htaccess ├── README.md ├── language-and-api.md ├── package.json ├── pages ├── 404.md ├── all-pages.js ├── assign-variables.md ├── call-and-define-functions.md ├── compare-things.md ├── create-an-animation.md ├── create-and-change-objects.md ├── create-and-draw-shapes-and-text.md ├── data-types.md ├── home.md ├── perform-mathematical-operations.md ├── print-to-the-javascript-console.md ├── share-program.md ├── step-forwards-and-backwards-through-a-program.md └── suggestions-for-improvement.md ├── resources ├── codemirror.css ├── images │ ├── help │ │ ├── anatomy-of-an-assignment.png │ │ ├── anatomy-of-running-an-action.png │ │ ├── draw-oval-1.png │ │ ├── make-circle-give-back.png │ │ └── offsetting-two-moving-shapes-car.png │ ├── pause-bow.png │ ├── pause-hover.png │ ├── pause.png │ ├── play-bow.png │ ├── play-hover.png │ ├── play.png │ ├── rewind-active.png │ ├── rewind-bow.png │ ├── rewind-disabled.png │ ├── rewind-hover.png │ ├── rewind.png │ ├── step-backwards-active.png │ ├── step-backwards-bow.png │ ├── step-backwards-disabled.png │ ├── step-backwards-hover.png │ ├── step-backwards.png │ ├── step-forwards-active.png │ ├── step-forwards-bow.png │ ├── step-forwards-disabled.png │ ├── step-forwards-hover.png │ └── step-forwards.png ├── jquery.jscrollpane.css ├── main.css ├── simplescrollbars.css └── videos │ └── fixing-code-using-the-player-controls.mp4 ├── scripts ├── build-pages.js ├── develop.js ├── less-verbose-webpack-progress-plugin.js ├── webpack-base.config.js ├── webpack-build-for-deploy.config.js └── webpack-build-for-development.config.js ├── spec ├── canvas-library.spec.js ├── compiler.spec.js ├── heap.spec.js ├── immutable-program-state.spec.js ├── parser.spec.js ├── program-state.spec.js ├── standard-library.spec.js └── vm.spec.js └── src ├── analytics.js ├── annotator.js ├── canvas-library.js ├── demo-program.txt ├── editor.js ├── env.js ├── index-template.html ├── index.js ├── inputter.js ├── lang ├── check-args.js ├── compiler.js ├── examples.json ├── grammar.pegjs ├── heap.js ├── lang-util.js ├── parser-state-error.js ├── parser.js ├── program-state.js ├── scope.js ├── sketches1 ├── sketches2 ├── sketches3 ├── sketches4 ├── sketches5 ├── sketches6 ├── sketches7 ├── standard-library.js └── vm.js ├── lib ├── jquery.jscrollpane.min.js ├── jquery.mousewheel.js └── simplescrollbars.js ├── mode-lauren.js ├── program-player.jsx ├── search.jsx ├── sidebar.jsx ├── source-saver.js ├── top.js ├── topbar.jsx ├── url.js └── util.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/.gitignore -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/.htaccess -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/README.md -------------------------------------------------------------------------------- /language-and-api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/language-and-api.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/package.json -------------------------------------------------------------------------------- /pages/404.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/pages/404.md -------------------------------------------------------------------------------- /pages/all-pages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/pages/all-pages.js -------------------------------------------------------------------------------- /pages/assign-variables.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/pages/assign-variables.md -------------------------------------------------------------------------------- /pages/call-and-define-functions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/pages/call-and-define-functions.md -------------------------------------------------------------------------------- /pages/compare-things.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/pages/compare-things.md -------------------------------------------------------------------------------- /pages/create-an-animation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/pages/create-an-animation.md -------------------------------------------------------------------------------- /pages/create-and-change-objects.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/pages/create-and-change-objects.md -------------------------------------------------------------------------------- /pages/create-and-draw-shapes-and-text.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/pages/create-and-draw-shapes-and-text.md -------------------------------------------------------------------------------- /pages/data-types.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/pages/data-types.md -------------------------------------------------------------------------------- /pages/home.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/pages/home.md -------------------------------------------------------------------------------- /pages/perform-mathematical-operations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/pages/perform-mathematical-operations.md -------------------------------------------------------------------------------- /pages/print-to-the-javascript-console.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/pages/print-to-the-javascript-console.md -------------------------------------------------------------------------------- /pages/share-program.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/pages/share-program.md -------------------------------------------------------------------------------- /pages/step-forwards-and-backwards-through-a-program.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/pages/step-forwards-and-backwards-through-a-program.md -------------------------------------------------------------------------------- /pages/suggestions-for-improvement.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/pages/suggestions-for-improvement.md -------------------------------------------------------------------------------- /resources/codemirror.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/codemirror.css -------------------------------------------------------------------------------- /resources/images/help/anatomy-of-an-assignment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/help/anatomy-of-an-assignment.png -------------------------------------------------------------------------------- /resources/images/help/anatomy-of-running-an-action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/help/anatomy-of-running-an-action.png -------------------------------------------------------------------------------- /resources/images/help/draw-oval-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/help/draw-oval-1.png -------------------------------------------------------------------------------- /resources/images/help/make-circle-give-back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/help/make-circle-give-back.png -------------------------------------------------------------------------------- /resources/images/help/offsetting-two-moving-shapes-car.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/help/offsetting-two-moving-shapes-car.png -------------------------------------------------------------------------------- /resources/images/pause-bow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/pause-bow.png -------------------------------------------------------------------------------- /resources/images/pause-hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/pause-hover.png -------------------------------------------------------------------------------- /resources/images/pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/pause.png -------------------------------------------------------------------------------- /resources/images/play-bow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/play-bow.png -------------------------------------------------------------------------------- /resources/images/play-hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/play-hover.png -------------------------------------------------------------------------------- /resources/images/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/play.png -------------------------------------------------------------------------------- /resources/images/rewind-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/rewind-active.png -------------------------------------------------------------------------------- /resources/images/rewind-bow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/rewind-bow.png -------------------------------------------------------------------------------- /resources/images/rewind-disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/rewind-disabled.png -------------------------------------------------------------------------------- /resources/images/rewind-hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/rewind-hover.png -------------------------------------------------------------------------------- /resources/images/rewind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/rewind.png -------------------------------------------------------------------------------- /resources/images/step-backwards-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/step-backwards-active.png -------------------------------------------------------------------------------- /resources/images/step-backwards-bow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/step-backwards-bow.png -------------------------------------------------------------------------------- /resources/images/step-backwards-disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/step-backwards-disabled.png -------------------------------------------------------------------------------- /resources/images/step-backwards-hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/step-backwards-hover.png -------------------------------------------------------------------------------- /resources/images/step-backwards.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/step-backwards.png -------------------------------------------------------------------------------- /resources/images/step-forwards-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/step-forwards-active.png -------------------------------------------------------------------------------- /resources/images/step-forwards-bow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/step-forwards-bow.png -------------------------------------------------------------------------------- /resources/images/step-forwards-disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/step-forwards-disabled.png -------------------------------------------------------------------------------- /resources/images/step-forwards-hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/step-forwards-hover.png -------------------------------------------------------------------------------- /resources/images/step-forwards.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/images/step-forwards.png -------------------------------------------------------------------------------- /resources/jquery.jscrollpane.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/jquery.jscrollpane.css -------------------------------------------------------------------------------- /resources/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/main.css -------------------------------------------------------------------------------- /resources/simplescrollbars.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/simplescrollbars.css -------------------------------------------------------------------------------- /resources/videos/fixing-code-using-the-player-controls.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/resources/videos/fixing-code-using-the-player-controls.mp4 -------------------------------------------------------------------------------- /scripts/build-pages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/scripts/build-pages.js -------------------------------------------------------------------------------- /scripts/develop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/scripts/develop.js -------------------------------------------------------------------------------- /scripts/less-verbose-webpack-progress-plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/scripts/less-verbose-webpack-progress-plugin.js -------------------------------------------------------------------------------- /scripts/webpack-base.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/scripts/webpack-base.config.js -------------------------------------------------------------------------------- /scripts/webpack-build-for-deploy.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/scripts/webpack-build-for-deploy.config.js -------------------------------------------------------------------------------- /scripts/webpack-build-for-development.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/scripts/webpack-build-for-development.config.js -------------------------------------------------------------------------------- /spec/canvas-library.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/spec/canvas-library.spec.js -------------------------------------------------------------------------------- /spec/compiler.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/spec/compiler.spec.js -------------------------------------------------------------------------------- /spec/heap.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/spec/heap.spec.js -------------------------------------------------------------------------------- /spec/immutable-program-state.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/spec/immutable-program-state.spec.js -------------------------------------------------------------------------------- /spec/parser.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/spec/parser.spec.js -------------------------------------------------------------------------------- /spec/program-state.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/spec/program-state.spec.js -------------------------------------------------------------------------------- /spec/standard-library.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/spec/standard-library.spec.js -------------------------------------------------------------------------------- /spec/vm.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/spec/vm.spec.js -------------------------------------------------------------------------------- /src/analytics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/analytics.js -------------------------------------------------------------------------------- /src/annotator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/annotator.js -------------------------------------------------------------------------------- /src/canvas-library.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/canvas-library.js -------------------------------------------------------------------------------- /src/demo-program.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/demo-program.txt -------------------------------------------------------------------------------- /src/editor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/editor.js -------------------------------------------------------------------------------- /src/env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/env.js -------------------------------------------------------------------------------- /src/index-template.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/index-template.html -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/index.js -------------------------------------------------------------------------------- /src/inputter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/inputter.js -------------------------------------------------------------------------------- /src/lang/check-args.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/check-args.js -------------------------------------------------------------------------------- /src/lang/compiler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/compiler.js -------------------------------------------------------------------------------- /src/lang/examples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/examples.json -------------------------------------------------------------------------------- /src/lang/grammar.pegjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/grammar.pegjs -------------------------------------------------------------------------------- /src/lang/heap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/heap.js -------------------------------------------------------------------------------- /src/lang/lang-util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/lang-util.js -------------------------------------------------------------------------------- /src/lang/parser-state-error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/parser-state-error.js -------------------------------------------------------------------------------- /src/lang/parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/parser.js -------------------------------------------------------------------------------- /src/lang/program-state.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/program-state.js -------------------------------------------------------------------------------- /src/lang/scope.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/scope.js -------------------------------------------------------------------------------- /src/lang/sketches1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/sketches1 -------------------------------------------------------------------------------- /src/lang/sketches2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/sketches2 -------------------------------------------------------------------------------- /src/lang/sketches3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/sketches3 -------------------------------------------------------------------------------- /src/lang/sketches4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/sketches4 -------------------------------------------------------------------------------- /src/lang/sketches5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/sketches5 -------------------------------------------------------------------------------- /src/lang/sketches6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/sketches6 -------------------------------------------------------------------------------- /src/lang/sketches7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/sketches7 -------------------------------------------------------------------------------- /src/lang/standard-library.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/standard-library.js -------------------------------------------------------------------------------- /src/lang/vm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lang/vm.js -------------------------------------------------------------------------------- /src/lib/jquery.jscrollpane.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lib/jquery.jscrollpane.min.js -------------------------------------------------------------------------------- /src/lib/jquery.mousewheel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lib/jquery.mousewheel.js -------------------------------------------------------------------------------- /src/lib/simplescrollbars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/lib/simplescrollbars.js -------------------------------------------------------------------------------- /src/mode-lauren.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/mode-lauren.js -------------------------------------------------------------------------------- /src/program-player.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/program-player.jsx -------------------------------------------------------------------------------- /src/search.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/search.jsx -------------------------------------------------------------------------------- /src/sidebar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/sidebar.jsx -------------------------------------------------------------------------------- /src/source-saver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/source-saver.js -------------------------------------------------------------------------------- /src/top.js: -------------------------------------------------------------------------------- 1 | module.exports.pub = {}; 2 | -------------------------------------------------------------------------------- /src/topbar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/topbar.jsx -------------------------------------------------------------------------------- /src/url.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/url.js -------------------------------------------------------------------------------- /src/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maryrosecook/code-lauren/HEAD/src/util.js --------------------------------------------------------------------------------