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 Introduction to HTML and CSS (2016) 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

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.