I want to return a string from a callback that is fed to html.H1 with the following to achieve
dict = {‘Price’: {‘value’: 21 ,‘color’ : ‘red’,‘icon’:“★”} , ‘Change’: {‘value’: .34 ,‘color’ : ‘green’ ,‘icon’:“☎”} }
html code used to dsplay icon is mentioned above
How can I return a string with these feature added