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

WordPress

how to find source code without downloading files?

In this video Zac jumps to a page with all of the source code, but doesn't explain how he got here. I ended up downloading all of the files, but hate to do that as it takes up so much space. Am I missing an easy way to find the source code for a single example page?

thanks so much!

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

In Firefox, Chrome, and Microsoft Edge you can go to a website and right click on the page. You should see something that says "View Page Source", "View page source", or "View source" respectively in the context menu. Alternatively, in both Chrome and Firefox you can use the keyboard shortcut CTRL + U. I'm assuming this probably works in much the same way on Safari, but I don't have a Mac so I can't say for sure. This will open up a page in the browser showing you the source code for that page. Hope this helps! :sparkles: