JSFiddle - React, Tailwind, and code Playground
HTML
<table id="solidTable">
<tr>
<td>
<p id="sectionS"></p>
</td>
<td>
<p id="sS"></p>
</td>
</tr>
</table>
JavaScript
document.getElementById("sectionS").innerHTML = 2;
y = document.getElementById("sectionS").innerHTML;
document.getElementById("sS").innerHTML = y;