I have the dict latest_status:
{'What': 10, "Study'": 10, 'all': 10, 'to': 10, "facebook'": 10, 'has': 10, 'worth': 20, 'hurting': 10 }
I am trying to make a text cloud by doing something like this in my template:
{% for word,count in latest_status.items %}
<style="font-size:{{ count }}px"> {{ word }}</style>
{% endfor %}
I am trying to manipulate the font size with the count from the dict but it doesn't seem to be working.