Using the database you have in local storage for your contact links, follow the ETL process.
- Extract the contact data
- Transform each social media object into an
<article> element string.
- Load that string into the DOM
You may want to create a section element in your HTML file to contain each article.
<body>
<section id="social-media-links">
// Each new <article> will be inserted here
</section>
</body>