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 trialAdrian Pandelica
Courses Plus Student 2,106 PointsWebsite 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
11,185 PointsThere 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
30,164 PointsOne 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
11,185 PointsIf 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.
Adrian Pandelica
Courses Plus Student 2,106 PointsHi . i've done all the changes but i still havea prob at line 5. http://codepen.io/anon/pen/BcFsJ . thx