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

John Cato
John Cato
2,565 Points

Website Testing

So I attempted to validate my code for any errors using the validator.w3.org website. When I did a direct input to validate my code, this message came up:

Bad value Treehouse Images/numbers-05.jpg for attribute href on element a: Illegal character in path segment: not a URL code point.

Trying to figure out what this means and how do I fix it. Thanks in advance!

2 Answers

Łukasz Czuliński
Łukasz Czuliński
8,646 Points

I think it's because there's whitespace in your path.

Try using %20 like this: Treehouse%20images/numbers-05.jpg

John Cato
John Cato
2,565 Points

Thanks so much for helping me out. Greatly appreciate it!