I was supposed to use the h2 selector to change my font to Lobster. I wrote the code below, but it didn’t allow me to pass…however, later I cut and pasted the h2 selector above the p selector and it passed me. Any ideas why?
Thanks.
I think the problem is because the link tag with your font should be positioned outside of the style tag in your html, as instructed a bit further up in that lesson. Here is the link to Google’s documentation, as well. Once you have the link outside of the style tag, it shouldn’t matter in this particular example which order the h2 and the p styles are in.
This is crazy.
I can design websites and put things together, but im not seeing this.
I understand that css is cascading so it should apply to my H2,
so the only way to override the css is with inline styles.
Hi thats what i found in the end, but it wasnt really clear in the question.
I am a freelance web developer, but I feel that I need to refresh on my skills before I take a junior position.
I can put things together and make things work, but i need a deeper understanding, HTML and css are fine, its CSS3 and then Javascript i want to conquer.
I have a CIW qualification, but its not really recognized, so I am preparing for my Microsoft exam which requires me to know Javascript.
exam 70-480 which is more recognizable.