Use JSX instead of elements

index.js

import React from "react";
import ReactDOM from "react-dom";
import "./index.css";

ReactDOM.render(
  <ul>
    <li>Chicken fry</li>
    <li>Vegetable soup</li>
    <li>Salad</li>
  </ul>,
  document.getElementById("root")
);

image.png

No Comments Yet