btholt / citr-v6-project

Project files for the Complete Intro to React v6, as taught for Frontend Masters
Apache License 2.0
482 stars 458 forks source link

JSX class code not working #17

Open nrudrawar opened 3 years ago

nrudrawar commented 3 years ago

Hello JSX from the Core React Components class doesn't work, followed all the steps correctly. But the code with JSX doesn't work, I get the server running but only HTML is printed out. no CSS or logo etc is visible on the page. I also got an error for index.html and it suggested to add type="module" to script tag

But doing that also it doesn't work

Update - looks like babel doesn't seem to be working in chrome on mac, as my code works in Safari but doesn't properly on chrome