Posted on Mar 29th, 2022
🗓️Today’s topics
- Using arrays
- Iteration: using loops with arrays
- Transforming arrays with map, reduce, and filter
🎯 Project
JavaScript Problem Set 2 - Due Wednesday
Link to the assignment invitation
🔖 Resources
🦉 Code, Notes & Video
Posted on Mar 28th, 2022
Posted on Mar 24th, 2022
🗓️ Today’s topics
- CSS backgrounds
- CSS layout with flexbox
🎯 Weekend Project: Dog Adoption
Continue working on your dog adoption website assignment. It’s due Monday morning.
Today you should begin to tackle layout for your site. It is not important that you only have 3 dogs per row on your page but your dogs should be laid out in a grid. If you use flexbox, they should rearrange nicely depending on the width of the browser window.
🔖 Resources
Flexbox
General CSS
Responsive CSS
Design
Layout techniques for CSS include a lot of options other than flexbox. This reference summarizes them and gives you a good sense of other things you might see.
A popular alternative to flexbox for layout is called “grid”, also built into CSS. With flexbox you choose to line up your boxes either vertically or horizontally, but with grid you can specify both horizontal and vertical arrangement in the same box.
Jen Simmons is a former Mozilla developer and educator with a great series on YouTube to teach you css layout best practices using grid and flexbox.
Before we had flexbox or grid built into CSS, we relied on floats for layout. You should not be using floats to lay out your pages, but you may still see them in other people’s code. Because of that, you may want to familiarize yourself at some point.
🦉 Code, Notes & Code
Posted on Mar 23rd, 2022
🗓️ 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
✅ TODO today
Between classes:
- Thinkific CSS and Styling unit
Begin working on your dog adoption website. 🐕
You won’t be able to do all of it at once. Start with the html, adding in classes for your elements. Think about how to group your elements together so you can apply styles effectively to groups of things.
🎯 Weekend Project: Build a Dog Adoption website
Link to the assignment invitation
This assignment is due on Monday, March 28, at 9:00 am.
🔖 Resources
Getting Started
CSS Selectors & Properties
Box Model
🦉 Code & Notes