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 trialAndrew Messamore
9,708 PointsCan someone help me out here? It keeps telling me that my input tag is not linking with my p tag.
My input is not linking with my paragraph tag.
<!DOCTYPE html>
<html ng-app="myApp">
<head>
<title>Angular.js</title>
</head>
<body>
<p>Hello{{user.name}}</p>
<input ng-modal="user.name">
<script src="js/angular.js"></script>
<script src="app.js"></script>
</body>
</html>
var myApp = angular.module('myApp',[]);
1 Answer
Igor Yamshchykov
24,397 PointsYou mistyped a little bit
<input ng-modal="user.name">
should be
<input ng-model="user.name">
Please tell if that fix the problem.