week03: Javascript Mini Exercise – Hannah Kasak

Boogie Cat

In this project, after reviewing the notes, I felt pretty confident in how to complete the assignment. For the most part, it went exactly as I expected except for styling the box in CSS. For whatever reason, though I checked my code for typos and consulted other sources, I could not make a border appear around the caption. I tried to make a border appear before pressing the button as well, and this didn’t appear either. I changed the box color to green and this did work, so I know that my box is appearing the way I expect it and it is just the border that I cannot account for. I added in box-sizing: border-box, suggested by an online source, but this did not help.  I’m still not sure what I am doing wrong, but the code that I expected to work is below.

Leave a Reply