Fatux
August 25, 2022, 5:11pm
1
Hi everyone I am stuck in step 17, can you please tell a better hint, or what am I doing wrong?
///
h1 h2 {
font-family: Verdana, sans-serif;
}
h2{
border-bottom: 4px solid #dfdfe2 ;
}
///
the hint (which I don’t understand) I get to check my mistake is:
Hint
You should use a multiple element selector to target the h1
and h2
elements.
Thanks for your kind help
Could you please provide a link to the challenge?
You forgot ,
between h1
and h2
.
When you want to apply CSS with more than 1 HTML element tags , you can separate various HTML element tags selectors by using the ,
in CSS.
Here is the resource, in case you want to read more about applying a CSS style to more than 1 HTML element tag?
I think you might want to google “CSS selectors”.
If I go to this page , I see an entry that might be helpful, like the 8th in the list.
Scan over the other options to understand what is available.
1 Like
OK, thanks.
Yeah, then the answers stand.
1 Like
Fatux
August 25, 2022, 5:25pm
7
Yes I found the answer, I always use W3 school but I was searching on the multilple selector page and couldn’t find the aswer. I totally forgot about the “,”
Thanks so much
Fatux
August 25, 2022, 5:25pm
8
Thanks so much mate. have a nice day.
Yeah, effective searching is one of the most important skills a dev can have. But yeah, sometimes it’s hard to know what to search for.
system
Closed
February 24, 2023, 5:27am
10
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.