JSFiddle - React, Tailwind, and code Playground

by dife

HTML

<div id="objeto"></div>

JavaScript

let meuObjeto = {
  nome: 'Faca',
  marca: 'Tramontina',
  valor: 'R$ 45,00'
}

document.getElementById("objeto").innerHTML = "Nome: " + meuObjeto.nome +
 "<br/>Marca: " + meuObjeto.marca + "<br/> Valor: " + meuObjeto.valor;