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

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

Sean Flanagan
Sean Flanagan
33,235 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,860 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,235 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/)