# Code and Preview Don't Match

**URL:** <https://forum.code.org/t/code-and-preview-dont-match/32432>\
**Category:** Coding and Debugging Help\
**Created:** [March 12, 2020, 1:51pm UTC](https://forum.code.org/t/code-and-preview-dont-match/32432 "2020-03-12T13:51:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![echappell](https://avatars.discourse-cdn.com/v4/letter/e/a6a055/32.png) [@echappell](https://forum.code.org/u/echappell)\
**Post date:** [March 12, 2020, 1:51pm UTC](https://forum.code.org/t/code-and-preview-dont-match/32432/1 "2020-03-12T13:51:12Z")

</div>

Bug in Course csd2-2019 Stage 4 Puzzle 10, 2nd page of website

It doesn’t matter which personal website level you look at. The code and the content don’t match.

**Link to the project or level:** I don’t have the option to remix or share this project, even though sharing has been enabled. Here is the URL: [https://studio.code.org/s/csd2-2019/stage/6/puzzle/9?section\_id=2651843&user\_id=61040210&viewAs=Teacher](https://studio.code.org/s/csd2-2019/stage/6/puzzle/9?section_id=2651843&user_id=61040210&viewAs=Teacher)

 ![Dre's Website](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/5/59d494c339ed355af391afadd1eae0f91c629127.jpeg)

**What I expect to happen:** The elements in the preview area should match the code in the workspace.

**What actually happens:** The preview area displays the elements matching the code from the index page instead, on both student’s account and my account.

**What I’ve tried:** Refresh page, log out/in, restart computer, editing code.

!Dre’s Website|690x403](upload://cOFWLhBpZ5gqke1WKXtdFPj6Cd9.jpeg)

---

<div class="post-metadata">

**Author:** ![mwood](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mwood/32/4941_2.png) [@mwood](https://forum.code.org/u/mwood)\
**Post date:** [March 12, 2020, 2:05pm UTC](https://forum.code.org/t/code-and-preview-dont-match/32432/2 "2020-03-12T14:05:41Z")

</div>

A little hard to say without seeing the code as your link just takes me to my login and students. However, one question… It looks like you are viewing` Fun games.com` (the file name on the left side). Normally, if it is an html file, it should end in .html (not .com) I don’t know if that could cause this kind of problem, but I would start by renaming the file.

If you can’t share it and that doesn’t work, you may want to reach out to [support@code.org](mailto:support@code.org) and see if they can look inside your account and see what is going on.

Best wishes!

Mike

---

<div class="post-metadata">

**Author:** ![echappell](https://avatars.discourse-cdn.com/v4/letter/e/a6a055/32.png) [@echappell](https://forum.code.org/u/echappell)\
**Post date:** [March 12, 2020, 2:58pm UTC](https://forum.code.org/t/code-and-preview-dont-match/32432/3 "2020-03-12T14:58:23Z")

</div>

?Thank you! I didn’t pick up on that!

Elizabeth A. Chappell

Computer Science  
West Side STEM Magnet Middle School  
Groton Public Schools
