started mvc chapter
This commit is contained in:
parent
ec72ed57b9
commit
ed7c48e877
|
@ -29,12 +29,12 @@
|
|||
<script>
|
||||
|
||||
// Model
|
||||
let fistName;
|
||||
let firstName;
|
||||
let place;
|
||||
let food;
|
||||
// View
|
||||
function setFields() {
|
||||
document.getElementById("namediv").innerHTML = fistName;
|
||||
document.getElementById("namediv").innerHTML = firstName;
|
||||
document.getElementById("placediv").innerHTML = place;
|
||||
document.getElementById("fooddiv").innerHTML = food;
|
||||
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -6,7 +6,7 @@
|
|||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
Thus spake the Master Programmer:
|
||||
"After three days without programming, life becomes meaningless."
|
||||
<div>Thus spake the Master Programmer:<br>
|
||||
"After three days without programming, life becomes meaningless."</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue