Python Flask Basics Character Builder Items

Pictures 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>

2 Answers

Nancy Melucci
seal-mask
.a{fill-rule:evenodd;}techdegree
Nancy Melucci
Front End Web Development Techdegree Student 32,626 Points

I 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?