@Danielejekwu
Posted
Great! Thank Jesse :)
Suggestions as to how to make the button text the same color as the container background color would be very helpful. Thanks
@Danielejekwu
Posted
Great! Thank Jesse :)
@jesse10930
Posted
Hey Daniel, your project looks great! To change the color of the button text, you just have to add a 'color' attribute to a class attached to the button. It looks like you made a 'button1' class for all 3 buttons, but I don't see it ever referenced. If you change the classes for the second and third buttons to 'button2' and 'button3', then add:
.button1 {
color: orange;
}
.button2 {
color: blue;
}
.button3 {
color: green;
}
to your CSS file (with the colors you want), your page should reflect the desired changes.
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord