如何更改哈希链接的JavaScript

我有两个社交媒体链接fb和insta ..如何提供单独的哈希链接和如何更改文本颜色示例fb蓝色,insta颜色黄色-JavaScript

let t_p_data = [{ s_media: 'Facebook',},
    {s_media: 'Instagram',},];
let paymentsData = $('.payments-data');
paymentsList = paymentsData.innerHTML;

for (let p_data of t_p_data) {
    paymentsList += `<tr><td><a href="">${p_data.s_media}</a></td></tr>`
} paymentsData.append(paymentsList);
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<table><tbody class="payments-data"></tbody></table>
评论