Commit 19573416 authored by Tung Vu's avatar Tung Vu

update

parent 6142bfd8
This diff is collapsed.
<h1>Max Mahr</h1>
<h1>Quang Tung Vu</h1>
<p>Hallo</p>
\ No newline at end of file
......@@ -14,7 +14,7 @@ router.listen(8080, function () {
console.log(" http://localhost:8080/object");
});
router.get("/name", function (req, res) {
res.json({ vorname: "Max", nachname: "Mahr" });
res.json({ vorname: "Tung", nachname: "Vu" });
});
router.use("/htmlfile", express.static(__dirname + '/name.html'));
router.get("/gauss", function (req, res) {
......@@ -39,7 +39,7 @@ var Person = /** @class */ (function () {
return Person;
}());
router.get("/object", function (req, res) {
var myObject = new Person("Max", "Mahr");
var myObject = new Person("Tung", "Vu");
res.json(myObject);
});
//# sourceMappingURL=server.js.map
\ No newline at end of file
......@@ -14,7 +14,7 @@ router.listen(8080, () => {
console.log(" http://localhost:8080/object");
});
router.get("/name", function(req: Request, res: Response){
res.json({vorname: "Max", nachname: "Mahr"});
res.json({vorname: "Tung", nachname: "Vu"});
});
router.use("/htmlfile", express.static(__dirname + '/name.html'));
......@@ -48,7 +48,7 @@ class Person {
}
router.get("/object", function (req: Request, res: Response) {
let myObject = new Person("Max", "Mahr");
let myObject = new Person("Tung", "Vu");
res.json(myObject);
});
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -7,8 +7,8 @@
<script src="view.js"></script>
</head>
<body>
<h1>Max Mahr</h1>
<h2>Übung 6</h2>
<h1>Quang Tung Vu</h1>
<h2>Übung 3</h2>
<p id="divplatz"> </p>
<button id="diverstellen" type="button" onclick="divs()">Div Schleife</button>
<h1 id="zahlenraten">Zahlenraten</h1>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment