├── .gitignore ├── LICENSE ├── README.md ├── lecture1 ├── activity.css ├── activity1.html ├── activity2.html ├── google.png ├── index1.html ├── index2.html ├── simple_html_page.html ├── style1.css ├── style2.css └── style3.css ├── lecture2 ├── arithmetic.js ├── arrays.js ├── classactivity.js ├── conditionals.js ├── functions.js ├── loops.js ├── objects.js ├── runall.html └── variables.js ├── lecture3 ├── addPoints.js ├── array.js ├── functions.js ├── index.html ├── person.js └── shapes.js ├── lecture4 ├── changeImage-solution.js ├── changeImage.html ├── changeImage.js ├── domadd-solution.js ├── domadd.html ├── domadd.js ├── domcollect-solution.js ├── domcollect.html ├── domcollect.js └── images │ ├── five.jpg │ ├── four.jpg │ ├── one.jpg │ ├── three.jpg │ └── two.jpg ├── lecture5 ├── counter.html ├── counter.js ├── dom.html ├── dom.js ├── example.html ├── example.js ├── interval.html ├── interval.js ├── prop.html ├── prop.js ├── timeout.html ├── timeout.js ├── timeout2.html └── timeout2.js ├── lecture6 ├── employee.html ├── employee.js ├── shapes.html ├── shapes.js ├── shapes2.html └── shapes2.js ├── lecture7 ├── client │ ├── README │ ├── ajaxrequest.js │ └── index.html └── server │ └── simpleserver.py └── lecture8 ├── ajaxserver-pipe.js ├── ajaxserver-solution.js ├── ajaxserver.js ├── calculate.js ├── client ├── README ├── ajaxrequest.js └── index.html ├── eventCounter.js ├── events.js ├── httprequest.js ├── httpserver.js ├── httpstream.js ├── pipeCopy.js ├── sample.txt ├── streamCopy.js ├── test.js ├── wordCount-noStream.js ├── wordCount-stream.js ├── wordFind.js └── wordFind2.js /.gitignore: -------------------------------------------------------------------------------- 1 | *.js~ 2 | *.html~ 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/README.md -------------------------------------------------------------------------------- /lecture1/activity.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture1/activity.css -------------------------------------------------------------------------------- /lecture1/activity1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture1/activity1.html -------------------------------------------------------------------------------- /lecture1/activity2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture1/activity2.html -------------------------------------------------------------------------------- /lecture1/google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture1/google.png -------------------------------------------------------------------------------- /lecture1/index1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture1/index1.html -------------------------------------------------------------------------------- /lecture1/index2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture1/index2.html -------------------------------------------------------------------------------- /lecture1/simple_html_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture1/simple_html_page.html -------------------------------------------------------------------------------- /lecture1/style1.css: -------------------------------------------------------------------------------- 1 | strong { color: red } 2 | -------------------------------------------------------------------------------- /lecture1/style2.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture1/style2.css -------------------------------------------------------------------------------- /lecture1/style3.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture1/style3.css -------------------------------------------------------------------------------- /lecture2/arithmetic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture2/arithmetic.js -------------------------------------------------------------------------------- /lecture2/arrays.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture2/arrays.js -------------------------------------------------------------------------------- /lecture2/classactivity.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture2/classactivity.js -------------------------------------------------------------------------------- /lecture2/conditionals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture2/conditionals.js -------------------------------------------------------------------------------- /lecture2/functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture2/functions.js -------------------------------------------------------------------------------- /lecture2/loops.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture2/loops.js -------------------------------------------------------------------------------- /lecture2/objects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture2/objects.js -------------------------------------------------------------------------------- /lecture2/runall.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture2/runall.html -------------------------------------------------------------------------------- /lecture2/variables.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture2/variables.js -------------------------------------------------------------------------------- /lecture3/addPoints.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture3/addPoints.js -------------------------------------------------------------------------------- /lecture3/array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture3/array.js -------------------------------------------------------------------------------- /lecture3/functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture3/functions.js -------------------------------------------------------------------------------- /lecture3/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture3/index.html -------------------------------------------------------------------------------- /lecture3/person.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture3/person.js -------------------------------------------------------------------------------- /lecture3/shapes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture3/shapes.js -------------------------------------------------------------------------------- /lecture4/changeImage-solution.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture4/changeImage-solution.js -------------------------------------------------------------------------------- /lecture4/changeImage.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture4/changeImage.html -------------------------------------------------------------------------------- /lecture4/changeImage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture4/changeImage.js -------------------------------------------------------------------------------- /lecture4/domadd-solution.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture4/domadd-solution.js -------------------------------------------------------------------------------- /lecture4/domadd.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture4/domadd.html -------------------------------------------------------------------------------- /lecture4/domadd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture4/domadd.js -------------------------------------------------------------------------------- /lecture4/domcollect-solution.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture4/domcollect-solution.js -------------------------------------------------------------------------------- /lecture4/domcollect.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture4/domcollect.html -------------------------------------------------------------------------------- /lecture4/domcollect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture4/domcollect.js -------------------------------------------------------------------------------- /lecture4/images/five.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture4/images/five.jpg -------------------------------------------------------------------------------- /lecture4/images/four.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture4/images/four.jpg -------------------------------------------------------------------------------- /lecture4/images/one.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture4/images/one.jpg -------------------------------------------------------------------------------- /lecture4/images/three.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture4/images/three.jpg -------------------------------------------------------------------------------- /lecture4/images/two.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture4/images/two.jpg -------------------------------------------------------------------------------- /lecture5/counter.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture5/counter.html -------------------------------------------------------------------------------- /lecture5/counter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture5/counter.js -------------------------------------------------------------------------------- /lecture5/dom.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture5/dom.html -------------------------------------------------------------------------------- /lecture5/dom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture5/dom.js -------------------------------------------------------------------------------- /lecture5/example.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture5/example.html -------------------------------------------------------------------------------- /lecture5/example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture5/example.js -------------------------------------------------------------------------------- /lecture5/interval.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture5/interval.html -------------------------------------------------------------------------------- /lecture5/interval.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture5/interval.js -------------------------------------------------------------------------------- /lecture5/prop.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture5/prop.html -------------------------------------------------------------------------------- /lecture5/prop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture5/prop.js -------------------------------------------------------------------------------- /lecture5/timeout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture5/timeout.html -------------------------------------------------------------------------------- /lecture5/timeout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture5/timeout.js -------------------------------------------------------------------------------- /lecture5/timeout2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture5/timeout2.html -------------------------------------------------------------------------------- /lecture5/timeout2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture5/timeout2.js -------------------------------------------------------------------------------- /lecture6/employee.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture6/employee.html -------------------------------------------------------------------------------- /lecture6/employee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture6/employee.js -------------------------------------------------------------------------------- /lecture6/shapes.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture6/shapes.html -------------------------------------------------------------------------------- /lecture6/shapes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture6/shapes.js -------------------------------------------------------------------------------- /lecture6/shapes2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture6/shapes2.html -------------------------------------------------------------------------------- /lecture6/shapes2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture6/shapes2.js -------------------------------------------------------------------------------- /lecture7/client/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture7/client/README -------------------------------------------------------------------------------- /lecture7/client/ajaxrequest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture7/client/ajaxrequest.js -------------------------------------------------------------------------------- /lecture7/client/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture7/client/index.html -------------------------------------------------------------------------------- /lecture7/server/simpleserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture7/server/simpleserver.py -------------------------------------------------------------------------------- /lecture8/ajaxserver-pipe.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/ajaxserver-pipe.js -------------------------------------------------------------------------------- /lecture8/ajaxserver-solution.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/ajaxserver-solution.js -------------------------------------------------------------------------------- /lecture8/ajaxserver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/ajaxserver.js -------------------------------------------------------------------------------- /lecture8/calculate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/calculate.js -------------------------------------------------------------------------------- /lecture8/client/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/client/README -------------------------------------------------------------------------------- /lecture8/client/ajaxrequest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/client/ajaxrequest.js -------------------------------------------------------------------------------- /lecture8/client/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/client/index.html -------------------------------------------------------------------------------- /lecture8/eventCounter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/eventCounter.js -------------------------------------------------------------------------------- /lecture8/events.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/events.js -------------------------------------------------------------------------------- /lecture8/httprequest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/httprequest.js -------------------------------------------------------------------------------- /lecture8/httpserver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/httpserver.js -------------------------------------------------------------------------------- /lecture8/httpstream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/httpstream.js -------------------------------------------------------------------------------- /lecture8/pipeCopy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/pipeCopy.js -------------------------------------------------------------------------------- /lecture8/sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/sample.txt -------------------------------------------------------------------------------- /lecture8/streamCopy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/streamCopy.js -------------------------------------------------------------------------------- /lecture8/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/test.js -------------------------------------------------------------------------------- /lecture8/wordCount-noStream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/wordCount-noStream.js -------------------------------------------------------------------------------- /lecture8/wordCount-stream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/wordCount-stream.js -------------------------------------------------------------------------------- /lecture8/wordFind.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/wordFind.js -------------------------------------------------------------------------------- /lecture8/wordFind2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juliengs/vsp2018webapp-codesamples/HEAD/lecture8/wordFind2.js --------------------------------------------------------------------------------