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

General Discussion

Trying to publish a repository, but can't see the button to publish.

1 Answer

Are you trying to publish it to another website/social media other than github?

I am able to access the project and it's files, meaning it is a public repository and therefore already published as anyone on the internet should also be able to access, read, and clone the repository.

As a side note, I like your code. It is very clean and easy to read. My only recommendation would be to use relative file paths where available instead of absolute.

There are different file paths available in HTML. An absolute file path is the full URL to an internet file. (ei:<link rel="stylesheet" href="C:/Users/Holly/Desktop/Coding/pro2/css/pro2.css">)

Whilst a relative file path points to a file relative to the current page. <link rel="stylesheet" href="/pro2/css/pro2.css">

It is best practice to use relative file paths if possible, because when using relative file paths, your web pages will not be restricted to your current base URL. Meaning all links will work on your own computer (your localhost) as well as on public domains.

https://chairbearextra.mailchimpsites.com/html-basics