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 trialDaniel Mironis
14,023 PointsI have trouble going through code challenge on AngularJS course
What is correct code for this challenge, and what is wrong in mine? Im attaching my code, any help is appreciated.
<!DOCTYPE html>
<html ng-app="myApp">
<head>
<title>Angular.js</title>
<script src="js/angular.js"></script>
<script src="app.js"></script>
</head>
<body ng-controller="myController">
<div treehouse-course course-title="{{courseTitle}}">{{courseTitle}}</div>
<select ng-model="courseTitle">
<option value="some">Some</option>
<option value="other">Other</option>
</select>
</body>
</html>
2 Answers
wuworkshop
3,429 PointsI just looked at the challenge question and you have the title
property written incorrectly. Just change it to this:
<div treehouse-course course-title="{{title}}"></div>
Daniel Mironis
14,023 PointsOoh, thats my very dumb mistake, thanks :)