[SOLVED] Make strikethrough red

I have this code to create a strikethrough on text. The code works, but I want the strikethrough to be red. Can anyone help add code to change the strikethrough from black to red? Appreciate anyone helping. Thanks.

$w . onReady ( function () {
let orig_html = $w ( “#text788” ). html ;
$w ( “#text788” ). html = ‘’ + orig_html + ‘’ ;
});

Try this…

$w.onReady(function(){
    letorig_html=$w("#text788").html;$w("#text788").html=       
    '<span style="text-decoration: line-through, color:red">' + 
    orig_html + '</span>';
});

Thanks but it doesn’t work. It actually removes the strikethrough.

I figured it out. See below. It was actually so simple. lol.

$w . onReady ( function () {
let orig_html = $w ( “#text779” ). html ;
$w ( “#text779” ). html = ‘’ + orig_html + ‘’ ;
});