I have started my first React lesson but I cant see any output on my localhost(3000), will you pls help me ?
this is my JS code :
import React from 'react';
import ReactDOM from 'react';
const element = React.createElement("div", { id: "title", className: "app-title" }, "this is a test text");
ReactDOM.render(element, document.getElementById("root"));