JSFiddle - React, Tailwind, and code Playground

by tea4two

HTML

<p>test</p>
<p>boo boo boo</p>
<p>doo doo doo</p>

JavaScript

let ps = document.getElementsByTagName('p');
console.log(ps);

ps.forEach((el) => {
	console.log('what\'s this element: ', el);
});