About this deal
How can we make disabled buttons more inclusive? When do they work well, and when do they fail on us? And finally, when do we actually need them, and how can we avoid them? Let’s find out. Part of our ongoing series on design patterns.
drop us a line and we may be able to find them for you. All of our buttons are high quality, hand inspected before dispatch and perfect for every purpose from crafting to fashion. With the universal selector ( *), we are removing the default margin and padding assigned to elements so we can add our own margin and padding. So, let's select our freeCodeCamp text and write the function to change its color to blue, green, and orange-red: const name = document.querySelector(".name"); It's not super ugly, but we can make it look better and act the way we want it to. So we have some CSS which I will explain below: