JSFiddle - React, Tailwind, and code Playground

by Patrick Hund

JavaScript

const content =
  '<p><strong>WEB</strong></p><p><strong>URL: ⚠️ </strong>TODO<strong><br />Repo:</strong> <a href="https://github.es.ecg.tools/mobile-de/consumer-webapp">mobile-de/consumer-webapp</a></p><p><strong>Tech team </strong>: GT (Frank Kruse)</p><p><strong>PM</strong>: Vasco Gaspar</p><p><strong>UX</strong>: Peter Amende</p><p><strong>MDE UI used?</strong> : YES</p><p><strong>MDE UI compatible?</strong> : YES</p><p><strong>MDE UI up to date?</strong>: YES</p><p><strong>Dark mode</strong> : YES</p><p><strong>Comments</strong>: NA</p>';

const htmlNode = document.createElement("html");
htmlNode.innerHTML = content;

const strongNodes = htmlNode.getElementsByTagName("strong");

for (let i = 0; i < strongNodes.length; i++) {
  const strongNode = strongNodes.item(i);
  console.log(strongNode.nextSibling)
}