I want to display data dynamically from local storage into an HTML table using JavaScript. Can anyone help with a js code? Here is the sample HTML code
table, th, td {
border:1px solid black;
}
<body>
<h2>A basic HTML table</h2>
<table style="width:100%">
<tr>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>