Responsive strip height

I’m trying to get the heights of a few elements/strips to match whatever view port they get loaded in. So far I’ve tried the trick using HTML bound to a strip (shown below) to try and get this to work but for some reason it’s just not working for me.

var style1 = “vh;height:” + 100 + “vh”; $w(" #text1 “).html = “<” + “h1” + " style=” + style1 + “>” + $w(" text1 ").text + “</” + “h1” + “>”;

If someone could explain how to make it work I’d be grateful. Also, maybe if there is a way to make it work with getBoundingRect() please do let me know!!

Does anyone know how to do this with Vector art?