Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the quiz-master-next domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /data01/virt105257/domeenid/www.blinov20.thkit.ee/htdocs/wp/wp-includes/functions.php on line 6131
Codesandbox – Georgi Blinov Õpimapp

Codesandbox

import "./styles.css";
import "/index.html";

const myjson = [
   {
      Car1: {
        Color: "Rose red",
        "Tinted Windows": false,
        Wheels:"4",
        Roofcargo:"null",
        Entertaiment:"FM RADIO,MP3,MP4 and MKV player",
        Accessories:"satnav,cruise control"
      },
      Car2: {
        Color: "Navy blue",
        "Tinted Windows": true,
        Wheels:"4",
        Roofcargo:"Thule",
        Entertaiment:"FM RADIO,Apple CarPlay/Android AutoBowers & Wilkins Premium Sound speakers",
        Accessories:"self drive system,luggage cover"


      }

   }
    


];

document.getElementById("app").innerHTML = `
<div>
  <h1> Car properties </h1>
  <header> Georgi Blinov Tarpv20</header>
  <h2>Car 1:</h2>
  <p>Color: ${myjson[0].Car1.color}</p>
  <p>Tinted windows: ${myjson[0].Car1["Tinted Windows"]} </p>
  <p>Wheels: ${myjson[0].Car1.Wheels}</p>
  <p>Roof cargo: ${myjson[0].Car1.Roofcargo}</p>
  <p>Entertaiment: ${myjson[0].Car1.Entertaiment}</p>
  <p>Accessories:  ${myjson[0].Car1.Accessories}</p>
</div>
<div>
  <h2> Car 2: </h2>
  <p>Color: ${myjson[0].Car2.color}</p>
  <p>Tinted windows: ${myjson[0].Car2["Tinted Windows"]} </p>
  <p>Wheels: ${myjson[0].Car2.Wheels}</p>
  <p>Roof cargo: ${myjson[0].Car2.Roofcargo}</p>
  <p>Entertaiment: ${myjson[0].Car2.Entertaiment}</p>
  <p>Accessories:  ${myjson[0].Car2.Accessories}</p>
</div>
`;