Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website Responsive Web Design and Testing Website Testing

Adrian Pandelica
PLUS
Adrian Pandelica
Courses Plus Student 2,106 Points

Website Testing

hi. On http://validator.w3.org/ its saying i have 4 Errors, 4 warning(s) . cand someone have a look i've attached In Codepen. http://codepen.io/anon/pen/sAewk . thanks

4 Answers

Thomas Horner
Thomas Horner
11,185 Points

There shouldn't be a space between the 800 and Oswald. It should be 800%7COswald.

Just copy and paste this code in and it'll work.

href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,800%7COswald' rel='stylesheet' type='text/css'

You'll need to put the link tag on it.

Tommy Gebru
Tommy Gebru
30,164 Points

One thing I have noticed on Codepen is that the images are not available, and there is no css file in the text editor. When using Codepen you have to upload image files so that Codepen can read them, you can use Imgur (http://imgur.com/) for this. I find that Treehouses Workspaces (https://teamtreehouse.com/workspaces) text editor is just as easy to use as Codepen.

Thomas Horner
Thomas Horner
11,185 Points

If you scroll down on the validator, it shows you exactly what's wrong with your code.

Line 5: HTML5 does not like the | pipe character. You need to replace the pipe character ( | ) with %7C Your code will run fine then. Line 20: You used a colon ( : ) instead of an equal sign ( = ) in your class selector.