`
function bannner() {
const title = "c'est pur "
return (<h1>{title}</h1>)
}
function cart() {
const prixbedo = 10
const prixhero = 20
const prixcoc = 70
return (<div>
<h2>Panier</h2>
<ul>
<li>bedo : {prixbedo}$</li>
<li>heroïne : {pixhero}$</li>
<li>cocaïne : {prixcoc}$</li>
</ul>
</div>)
}
ReactDOM.render(<div><banner /><cart /></div>, document.getElementById("root"))
i declared my file .js in my file .html when I test with simple function is good I see on my website the result but with this code nothing happens