Hi team,
I was wondering how to combine these two changes? I can get each one to work but not together...
$w('#firstText').html = `<h6 style = text-align:center; color:yellow > ${$w("#firstText").text}</h6>`;
Any ideas? I have seen the API but can't find anything related to this particular issue.
thanks!
let textAlignment = "left"; let textColor = "green"; $w("#firstText").html = `<h6 style = "text-align:${textAlignment};" ><span style="color:${textColor}" >${$w("#firstText").text}</h6>`;