Also having trouble with the code, specifically with the textgroup=id labelattrs=(size=7) textgroupid=text indentweight=indentWt. Wondering if this is because I have…