The wisest coding advice, code quality to the extreme 🛠️
// Detect dark theme
var iframe = document.getElementById(‘tweet-1766056613645865338-46’);
if (document.body.className.includes(‘dark-theme’)) {
iframe.src = “https://platform.twitter.com/embed/Tweet.html?id=1766056613645865338&theme=dark”
}
Join Me
Read more about Engineering Culture in Meta (Facebook), ⚡Newsletter, Twitter and LinkedIn for more Career, Leadership and Growth advice.
#developers #softwareengineering #meme #fridayhumor