<!doctype html> <html ng-app> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script> <style> body{ color:brown; margin:100px; font-family: sans-serif; } </style> </head> <body> <div> <label>Name:</label> <input ng-model="yourName" placeholder=" Enter a name here"> <hr> <h1>Hello {{yourName}}!</h1> <label>I'm :</label> <input ng-model="filling" placeholder=" happy, sad, excited..."> <h2>Why are you {{filling}}?</h2> </div> </body> </html>
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more