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 trialCortney Burgess
10,758 PointsThe static HTML below displays information about one really great movie. In this code challenge, we'll modify this so that it INSTEAD displays information about an even better movie; we'll also modify it to use an associative array in PHP instead of stati
<h1>Back to the Future (1985)</h1>
<table> <tr> <th>Director</th> <td>Robert Zemeckis</td> </tr> <tr> <th>IMDB Rating</th> <td>8.5</td> </tr> <tr> <th>IMDB Ranking</th> <td>53</td> </tr> </table>
5 Answers
Jennifer Rai
Courses Plus Student 13,164 PointsHi Courtney,
Your code is getting lost when you paste it. You need to put three backticks before and after the code for it to display properly. If you click the "Markdown Cheatsheet" link below the comment box, it will give you all of the Markdown you can use, but here is how to display code so we can help you with your question: Wrap your code with 3 backticks (```) on the line before and after.
Jennifer Rai
Courses Plus Student 13,164 PointsIt looks like this:
<br/>
<br/>
```
your code here
```
<br/>
<br/>
<br/>
<br/>
Cortney Burgess
10,758 Points<?php $movie=array(
<h1>Back to the Future (1985)</h1>
<table> <tr> <th>Director</th> <td>Robert Zemeckis</td> </tr> <tr> <th>IMDB Rating</th> <td>8.5</td> </tr> <tr> <th>IMDB Ranking</th> <td>53</td> </tr> </table>
<table>
Cortney Burgess
10,758 Points<h1>Back to the Future (1985)</h1>
<table> <tr> <th>Director</th> <td>Robert Zemeckis</td> </tr> <tr> <th>IMDB Rating</th> <td>8.5</td> </tr> <tr> <th>IMDB Ranking</th> <td>53</td> </tr> </table>
Cortney Burgess
10,758 Points'''<?php $movie=array(
<h1>Back to the Future (1985)</h1>
<table> <tr> <th>Director</th> <td>Robert Zemeckis</td> </tr> <tr> <th>IMDB Rating</th> <td>8.5</td> </tr> <tr> <th>IMDB Ranking</th> <td>53</td> </tr> </table>
<table>'''