From the course: Introduction to Web Design and Development

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Solution: Write HTML and CSS

Solution: Write HTML and CSS

(upbeat music) - [Instructor] How did your code turn out? There's an infinite number of solutions to this problem. My solution is only one possible solution. If your button still works the way it did before we started making modifications, then you have a great solution to the challenge. I made a bunch of changes to my HTML and CSS. Here's the changes that I made. I worked with the American palette here at flatuicolors.com, which I mentioned before. Here's the American palette. You could have picked any of these. And when you click that, it'll show you all of the colors that are here in that palette. And as you roll your mouse around, you see the copy buttons come up. I like this one here. And so I clicked on that copy button and it copied that particular color, which I can then paste that color hexadecimal code here into the CSS where I'd like it to go. So then the changes that I made here, starting with our or HTML, you'll notice that I now have two sections that appear on click…

Contents