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

JavaScript Introducing the Practice

Diana Soriano
seal-mask
.a{fill-rule:evenodd;}techdegree
Diana Soriano
Python Development Techdegree Student 9,639 Points

Page does not load when I click on preview workspace, is there an error in the html page with the script source link?

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>The React Planets</title> <link rel="stylesheet" href="./app.css" /> </head>

<body> <div id="root"></div> <!-- EXAMPLE TEMPLATE --> <!--
<div class="container"> <div class="card"> <div> <img src="img/mercury.jpg" alt="Mercury"> </div> <h2>Mercury</h2> <p>Mercury is the closest planet to the Sun. Due to its proximity, it's not easily seen except during twilight...</p> <h3>Planet Profile</h3> <ul> <li><strong>Diameter:</strong> 3,031.67 mi</li> <li><strong>Moons:</strong> none</li> </ul> </div> <div class="card">...</div> </div>
-->

<script src="https://unpkg.com/react@18/umd/react.development.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@18/umd/react-dom.development.js" crossorigin></script>

<!-- <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> <script type="text/babel" src="./app.js"></script> --> </body> </html>

1 Answer

Bella Bradbury
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Bella Bradbury
Front End Web Development Techdegree Graduate 32,790 Points

Hello Diana!

I have the same issue when I try to preview that workspace. I've alerted treehouse help and I'll let you know what their response is. If you come across any issues like this in the future, make sure to email help@teamtreehouse.com so that they are aware and can find a fix!