var widgetContent = document.getElementById("top-three-donation-list-widget-content"); // Donation var donation = document.createElement('div'); donation.setAttribute("id", "donation"); donation.setAttribute("class", "card card-body mt-3"); // Name var donationName = document.createElement('div'); donationName.setAttribute("id", "donation-name"); donationName.innerHTML = "

Christopher Lean donated £250.00 plus £62.50 Gift Aid on the 8th April 2015<\/p>"; donation.appendChild(donationName); // Comment var donationComment = document.createElement('div'); donationComment.setAttribute("id", "donation-comment"); donationComment.innerHTML = "

Sorry for late payment, but I forgot!Chris
<\/p>"; donation.appendChild(donationComment); widgetContent.appendChild(donation); // Donation var donation = document.createElement('div'); donation.setAttribute("id", "donation"); donation.setAttribute("class", "card card-body mt-3"); // Name var donationName = document.createElement('div'); donationName.setAttribute("id", "donation-name"); donationName.innerHTML = "

Kevin Morgan donated £100.00 on the 22nd March 2017<\/p>"; donation.appendChild(donationName); // Comment var donationComment = document.createElement('div'); donationComment.setAttribute("id", "donation-comment"); donationComment.innerHTML = "

Andy aka "AG The Intrepid" Gibbs has once again delivered. A true stalwart of The British Schools Museum and all round good egg. Well done AG. Another leak in the roof metaphorically plugged (quite probably literally too!). Cheers KM
<\/p>"; donation.appendChild(donationComment); widgetContent.appendChild(donation); // Donation var donation = document.createElement('div'); donation.setAttribute("id", "donation"); donation.setAttribute("class", "card card-body mt-3"); // Name var donationName = document.createElement('div'); donationName.setAttribute("id", "donation-name"); donationName.innerHTML = "

Kevin Morgan donated £100.00 on the 8th March 2016<\/p>"; donation.appendChild(donationName); // Comment var donationComment = document.createElement('div'); donationComment.setAttribute("id", "donation-comment"); donationComment.innerHTML = "

Team Gibbs do it again for our wonderful museum. Well done Andy. Above and beyond but then hey that's you and it really is appreciated. Thank you. KM
<\/p>"; donation.appendChild(donationComment); widgetContent.appendChild(donation);