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

Validation Code Error

Can't seem to get this code to fly:

[link href='http://fonts.googleapis.com/css? family=Open+Sans:400italic,700italic,400,800,700|Changa+One:' rel='stylesheet' type='text/css']

Also tried:

[link href='http://fonts.googleapis.com/css? family=Changa+One%7Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css']

Neither would work. Appears to be a problem with the ''''>'''' closing tag. But what???

Any ideas anyone?? Thanks

3 Answers

Hi Janise,

You have to url encode the vertical bar, |

Replace with %7C

There was an issues with your code markup. I can't see it as of this moment to try to help

Can' seem to get the markup right so you can see the code. I'm working on it. It's the google font link that I'm trying to post here. I thought we were to add the [] before and after the code but that's not working.

Ok Kevin, if you're still around, you can see the markup now. Thanks,

yes, I'm having an issue with the markup. Do I add the [] before/after the http://fonts link in my html that I'm trying to post?

Here's how to post code in the forums: https://teamtreehouse.com/forum/posting-code-to-the-forum