Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialChase Svoboda
Python Development Techdegree Graduate 8,466 PointsPictures are not showing for choices
I'm not sure what is wrong with my code, but it is only letting me see the "no option" (circle with the slash) under the bear. I've tried to look for what could be the problem by looking over my code again and again but nothing. Below is what I copied from Kenneth:
<div class="items"> {% for category , choice in options.items() %} {% if category != 'colors' %} <div class="grid-100 row"> <div class="grid-20"> <p class="category-title">{{ category.title() }}</p> </div> <div class="grid-80"> <input type="radio" id="no_{{ category }}_icon" name="{{ category }}" value="" {% if not saves.get(category) %}checked{% endif %}> <label for="no_{{ category }}_icon"><img src="/static/img/no-selection.svg"></label> {% for choice in choices %} <input type="radio" id="{{ category }}-{{ choice }}_icon" name="{{ category }}" value="{{ choice }}" {% if saves.get(category) == choices %}checked{% endif %}> <label for="{{ category }}-{{ choice }}_icon"> <img src="/static/img/{{ category }}-{{ choice }}.svg"></label> {% endfor %} </div> </div> {% endif %} {% endfor %} </div>
Chase Svoboda
Python Development Techdegree Graduate 8,466 PointsThis might be easier to see: https://github.com/MetaGeoKid/treehouse-fask-walkthrough
2 Answers
Nancy Melucci
Courses Plus Student 36,143 PointsThanks Chase I've forked the respository and will give it a try at my first opportunity.
Nancy Melucci
Courses Plus Student 36,143 PointsI love the tutorials here. But as it seems the teachers are independent contractors, when they leave Treehouse, their code sometimes breaks or requires updating, and no one appears to be able to maintain it so that we can finish. This is the third time I've been in the middle of a tutorial that I was enjoying and learning from, and have been stopped in my tracks by a project that clearly needs some kind of update. I am just not good enough - yet - to figure out a work around. Can't anyone be put in charge of maintaining the code even after the teachers move on?
Nancy Melucci
Courses Plus Student 36,143 PointsNancy Melucci
Courses Plus Student 36,143 PointsI am having the same issue. Can anyone help?