initial files
This commit is contained in:
parent
c5c2b2fa05
commit
7ac34d28a4
3 changed files with 34 additions and 0 deletions
20
index.html
Normal file
20
index.html
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Document Title</title>
|
||||
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Hello, World!</h1>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
3
main.css
Normal file
3
main.css
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
* {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
11
script.js
Normal file
11
script.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import http from 'http';
|
||||
|
||||
const server = http.createServer((req, res) => {
|
||||
res.statusCode = 200;
|
||||
res.end("Hello, World");
|
||||
});
|
||||
|
||||
|
||||
server.listen(3000, () => {
|
||||
console.log("Server -> 3000");
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue