+ 1
How Do I Change This?
Does anyone know how I can change one section of code in CSS without it affecting another part? If you enter the code into the playground, you can see my problem. This is homework for my class and I am stuck. Thanks in advance to anyone who can help. Please keep in mind when you are explaining that I am very new to this and this is my second day of class. Therefore, I may not be as familiar with certain terms. A bit of patience would be appreciated. https://codepen.io/MiMiiXV/pen/RBeQzG
1 Antwort
+ 2
You have two h3 tags that are currently set to red text and border. Since the one that needs a blue border has an id assigned to it, you need to add a CSS id selector with the blue border. It needs to be after the h3 tag selector so it makes both text and border red prior to this one changing the border blue.
#id1 {
border: 1px solid blue;
}