Week 6 Labs: JavaScript Libraries
-
Local storage
: on browsers
-
JavaScript: Import & Export
: Demonstrates importing and exporting modules in JS. Use
npx http-server to see working example after
installing node.js.
-
HTML Canvas
-
Canvas template
: Drawing rectangle/square template on a canvas - filled and outline
-
Hello canvas
: Drawing rectangles on a canvas - filled box and outline box
-
Fill vs. Stroke
: drawing squares examples
-
Gradients
: horizontal, vertical, diagonal, & radial gradients
-
Drawing in intervals
: setInterval(nameOfFunction, timeBetweenCallingFunctionInMs)
-
Drawing on canvas
-
Canvas events
-
Coordinates
: finding x, y coordinates on the canvas
-
Mouse events
: example of a mouse click event on canvas
-
Mouse drag
-
Leaflet JS: v1.9.4 - used for maps
-
Flickity: v2 - used for carousels
-
Glide JS: v3.6.0 - used for carousels
-
Highlight JS: v11.8.0 - used for code highlighting
-
Chart JS: v4 - used for graphs and charts
-
Also see,
Lab 6 assignment repository
ITEC 2560-60: Web Client and Server Programming
Minneapolis Community and Technical College (MCTC), Minneapolis, Minnesota
Prof. Clara James, Fall 2020
August 25, 2020 to December 15, 2020 (Tuesdays)