Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML Introduction to HTML and CSS Adding a New Web Page Write the CSS

HTML & CSS not connecting

Hello,

I can't seem to get my HTML and CSS to connect. Any help is appreciated!

HTML:

<!DOCTYPE html> <html> <head> <title>Tim Myers Resume</title> <link rel="stylesheet" href="resume.css"> </head> <body> <img src="http://placeimg.com/200/200/tech" alt="resume.css"> <h1>Tim Myers,Web Developer</h1> <h2>Summary of Qualifications</h2> <ul> <li>Experience as a freelance designer</li> <li>Eperience with HTML, CSS, and Javascript</li> <li>Bachelor of Science, Economics</li> </ul> </body> </html>

1 Answer

Brandon White
seal-mask
MOD
.a{fill-rule:evenodd;}techdegree seal-36
Brandon White
Treehouse Moderator

Hi Tim,

I’m not spotting any syntax errors. Is it possible that resume.css is not the correct file path or file name?

That path suggests that the appropriate css file is in the exact same folder/directory that the html file you’ve posted is in. If this is not the case (for example, if resume.css is in its on css directory which is in the same directory as the html file you’ve posted) then your path would need to be css/resume.css.

If you have a repo you can provide the link to, it might be a bit easier to help you solve this bug.

Good luck, coder.