Hi Friends...
If you are new in JS (java script) and you don't know how to start then this article is surely for you this post is gonna help you to learn JS Basics.
If you are new in JS (java script) and you don't know how to start then this article is surely for you this post is gonna help you to learn JS Basics.
Write Your Name inside Textbox
Name :
Hello {{name}}
Your Code is as under
Name :
Hello {{name}}
Copy And Paste this code inside Text Editor
<!DOCTYPE html>
<html>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
<body>
<div ng-app="" style="border: 2px solid #FF6600; width: 350px; text-align:center;">
<p>Write Your Name inside Textbox:</p>
<p>Name :
<input type="text" ng-model="name" placeholder="Enter name here"></p>
<h1>Hello {{name}}</h1>
</div>
</body>
</html>
0 comments:
Post a Comment