started mvc chapter
This commit is contained in:
parent
ec72ed57b9
commit
ed7c48e877
|
@ -29,12 +29,12 @@
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
// Model
|
// Model
|
||||||
let fistName;
|
let firstName;
|
||||||
let place;
|
let place;
|
||||||
let food;
|
let food;
|
||||||
// View
|
// View
|
||||||
function setFields() {
|
function setFields() {
|
||||||
document.getElementById("namediv").innerHTML = fistName;
|
document.getElementById("namediv").innerHTML = firstName;
|
||||||
document.getElementById("placediv").innerHTML = place;
|
document.getElementById("placediv").innerHTML = place;
|
||||||
document.getElementById("fooddiv").innerHTML = food;
|
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>
|
<title>Document</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
Thus spake the Master Programmer:
|
<div>Thus spake the Master Programmer:<br>
|
||||||
"After three days without programming, life becomes meaningless."
|
"After three days without programming, life becomes meaningless."</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue