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.

PHP Build a Basic PHP Website (2018) Listing and Sorting Inventory Items Creating the Display Function

Sean Flanagan
Sean Flanagan
33,234 Points

Code appears in preview

Hi.

I can't understand why my code shows in my preview.

Here's a snapshot:

https://w.trhou.se/cz79dng2v3

Thanks in advance.

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,692 Points

Hey Sean,

When I fork your Workspace and preview it, I don't see any code being displayed. I do see the site and the everything is where is should be.
Sorry, I have no explanation as to why you'd be seeing the code? But, your work looks great so far! :thumbsup:

Nice job! :) :dizzy:

Sean Flanagan
Sean Flanagan
33,234 Points

Hi Jason.

I appreciate your help. I'd take a screenshot to show you what I mean but the forum won't let me share it.

Here's the format I found in the cheatsheet:

alt text

!image(http://port-80-4evvkhb6uf.treehouse-app.com/)