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 trialSean Flanagan
33,235 PointsTo-do size
2 Answers
Steven Parker
231,275 PointsI think a major issue is repeating the title for each item. You could move the title out of the list:
<h1 ng-click="helloWorld()">My TODOs</h1> <!-- this line moved up from 2 below -->
<div ng-controller="mainCtrl" class="list">
<div class="item" ng-class="{'editing-item': editing}" ng-repeat="todo in todos">
Otherwise, you could make it smaller yet by using less padding or smaller font sizes in the CSS.
Sean Flanagan
33,235 PointsHi Steven. That did the trick. I upvoted your original answer and gave it Best Answer. Thanks, Sean.
Sean Flanagan
33,235 PointsSean Flanagan
33,235 PointsHi Steven. Thanks for your response. Is there any way I can paste a screenshot to this thread so I can show you what I mean?
Steven Parker
231,275 PointsSteven Parker
231,275 PointsI forked your snapshot and saw it for myself. I revised my answer.