Posted on May 27th, 2020
Today’s topics
- Using JS in the browser
- The DOM: the Document Object Model
- DOM manipulation with JS
- JS Events
Project
JavaScript Calculator
Link to the assignment invitation
Links and resources
This resource is really not at all necessary to understand or do the project, but if you want to know more about the concept of tree structures in computer science, check out this piece from Vaidehi Joshi’s BaseCS blog series. She is awesome! There is also a thoroughly delightful accompanying BaseCS podcast with the equally amazing Saron Yitbarek.
And here is more info about what is happening when a browser renders a page – very interesting, but definitely not necessary at this stage:
Since this came up in class, I’ll add a reference here. This is the documentation for the ternary operator, the alternative syntax some folks used in their JS functions. Most helpful for short expressions – you’ll also see it used in React:
AND…if you would like to know more about the JavaScript Event Loop and how it works, I highly recommend this resource. Don’t miss the video of the conference talk that goes along with it – it’s excellent:
Code, slides, and video from class
Posted on May 26th, 2020
Today’s topics
- Using arrays
- Iteration: using loops with arrays
- Transforming arrays with map, reduce, and filter
Project
JavaScript Problem Set 2
Link to the assignment invitation
Links and resources
Code, slides, and video from class
Posted on May 25th, 2020
Today’s topics
- Basic programming concepts in JavaScript
- Using variables, data types, conditionals, loops, and functions
Project
JavaScript Problem Set 1
Link to the assignment invitation
TODO
- Read So You Want to Be a Wizard by Julia Evans
- MDN JS First Steps - The “Guides” section on this page is a good place to start familiarizing yourself with the basics of JS. You can jump in to whatever topic on that Guide list looks interesting to you.
- JavaScript homework: problem set 1
Links and resources
Code, slides, and video from class
Posted on May 21st, 2020
Today’s topics
- CSS layout with flexbox
- Responsive web design, media queries, and breakpoints
- Basic web design principles
Project
Build a professional portfolio site
Link to the assignment invitation
You can start work on this tomorrow, Friday, after you turn in the dog adoption website.
This assignment is due on Tuesday, May 26, at 9:30 am.
Links and resources
Design
We aren’t using grid or floats in class, but you may want to familiarize yourself at some point. Here are some references.
Jen Simmons is a Mozilla developer and educator with a great series on YouTube to teach you css layout best practices using grid and flexbox.
Code, slides, and video from class
Posted on May 20th, 2020
Today’s topics
- Styling HTML with CSS
- CSS syntax: selectors, properties, values; shorthand properties
- Working with color, text and font properties, and backgrounds
- The box model, margin, and padding
- Units of measurement
Project
Build a Dog Adoption website
Link to the assignment invitation
This assignment is due on Friday, May 22, at 9:30 am.
Links and resources
Code, slides, and video from class