Stuck Advanced JSX part 5/16


#1

why the error ????

var math = (
  <div>
    <h1>2 + 3 = 2 + 3</h1>
  </div>
);

like all true test written


#2

The same. Can't figure out the problem.


#3

Can you guys post which error you're getting? Also, I'm going to assume you're talking about Instructions 1 right?


#4

Just figured out the problem. I implemented the code in the wrong file. Need to go to the app.js


#5

can someone tell me what wrong with this code? I can't get it work.

var React = require('react');
var ReactDOM = require('react-dom');

// Write code here:
var math = (


2 + 3 = {2 + 3}


);

ReactDOM.render(math, document.getElementById('app'));


#6

never mind, I got it works.


#7

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