My pen is not running react components. someone help
1 Like
Did you just solve it? It renders for me.
There’s a problem with your HTML. Look at your closing div tag.
<div id="app"></app>
In your JS settings, use these CDNs https://cdnjs.cloudflare.com/ajax/libs/react/17.0.2/umd/react.production.min.js
https://cdnjs.cloudflare.com/ajax/libs/react-dom/17.0.2/umd/react-dom.production.min.js
yes i did solve it, i was using a very old computer. and thanks for helping me. i shall send a like
check this new error i am getting please. thank you.
here is the pen:
https://codepen.io/NEllyMandela/pen/zYzLNov?editors=1111
<div id="root"</div>
You’re missing the >
on the opening div
tag.
Also, you don’t have babel hooked up.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.