Web Browser didn't run properly in "Learn ReactJS: Part I"


#1

About "Learn ReactJS: Part I"

When I wrote a code and clicked a "Run" button, nothing was displayed in a "Web Browser" on the right side of the screen.

Would you repair it?


#2

I am currently in part 2, if i have no output, there is something wrong with my code, if i then fix the code, the output shows.

So, i think this isn't something codecademy can fix


#3

For example, at below lesson "4. Curly Braces in JSX",
[https://www.codecademy.com/courses/react-101/lessons/react-jsx-advanced/exercises/jsx-curly-braces?action=lesson_resume]

I wrote following code and clicked Run button, but nothing was displayed in a "Web Browser" on the right side of the screen.

import React from 'react';
import ReactDOM from 'react-dom';

// Write code here:
ReactDOM.render(
  <h1>{2 + 3}</h1>,
  document.getElementById('app')
);

#4

works fine:

Try refreshing the page/different browser. Tell me you use a PC and not a mobile device (tablets included), codecademy doesn't work well on mobile devices


#5

PC: Desktop
OS : Lubuntu 16.04(Linux)
Web Browser : Firefox 54.0

At "Learn JavaScript" and "Learn HTML & CSS", the "Web Browser" displayed proper result.


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.