I want to increase the font size of items on my shopping list temporarily when I click on them.
So I want
var shoppingitem, fontsize=10;
if clickedon==True {
context.font.size++;
}
context.fillText(shoppingitem,10, shoppingitemnum*20);
Problem is increasing font size seems to require a context.font = "big long string detailing font and font size in px"
Is there a way to increment font size integer without having to turn it all into a concateated string and send it to context.font =
?
www.donoi.hostoi.com