If you live in the USA, Happy Independence Day! I’ve been busy this week doing family stuff, so I honestly haven’t touched the COVIDiary project. We’ll hopefully get back into that in the next week or so.
Here’s the starter code. If you want to code along, I suggest clicking the Edit on CODEPEN button and putting that tab in a new window.
This function will create our 13 red and white stripes. Read the comments for each line to see what it’s doing.
This function will create our blue union with the 9 rows of white stars. The stars are FontAwesome icons.Please note the location of union within our flag container is determined by the CSS
Bippity-Boppity Boo! (Put it Together)
If you’ve been coding along, you should have a beautiful US flag! If not, here’s what it looks like when the two functions are put together.
I hope you had as much fun with this as I did! Have a safe and wonderful 4th of July!