JSFiddle - React, Tailwind, and code Playground

by borisjavier

HTML

<div id="t">

</div>

JavaScript

let t = document.getElementById('t')
const l = '[{"o":"retahila", "t":"perenceja", "m":"peguele"}]';
const m = '[ { "accName": "Delorean", "dir": "1jYN4ybAeSs52KUzKToJuX1VcoHsfakLD" } ]'
const li = JSON.parse(m);
t.innerHTML = m//li[0].dir;