Hello, I am new to KO and like to learn. The tutorial 1 at the
learn.knockoutjs.com is itself not working when I click the run button. Or when I copies them to my local and run its only showing the fist: and last: todo.
Appreciate any help how to make it work.
Thank you
================= Here is the same code in my local index.html =============================
<html>
<head>
<script type='text/javascript' src='..\bower_components\knockout\dist\knockout.js'></script>
<script type='text/javascript'>
function AppViewModel() {
this.firstName = "Bert";
this.lastName = "Bertington";
}
// Activates knockout.js
ko.applyBindings(new AppViewModel());
</script>
</head>
<body>
<p>First name: <strong>todo</strong></p>
<p>Last name: <strong>todo</strong></p>
</body>
</html>.