<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>Hi everyone, I was wondering if anyone can provide some input on a situation I'm facing. I've ensured that the first argument inside the ReactDOM.render(); is correct, and have at least checked it 3 times. Unless I'm missing extremely obvious, would one be able to see what's wrong with my code? Or, would one see this as a bug?
Appreciate any feedback on this.
<Below this line, add a link to the EXACT exercise that you are stuck at.>
<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
Error message: The first argument passed to ReactDOM.render should be myList.
Behaviour: The console does not seem to accept my code despite using the guide code inside the explanation tab, as reference.
Code inside app.js :
var React = require(‘react’);
var ReactDOM = require(‘react-dom’);
// Write code here:
var myList = (
- Learn JS
- Learn ReactJS
- Learn Node
Code inside index.html:Learn ReactJS ```