color
This commit is contained in:
1
app.js
1
app.js
@@ -14,6 +14,7 @@ app.get('/', (req, res) => {
|
|||||||
res.sendFile(path.join(__dirname, 'index.html'));
|
res.sendFile(path.join(__dirname, 'index.html'));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Serve the test.html file at /test URL
|
||||||
app.get('/test', (req, res)=> {
|
app.get('/test', (req, res)=> {
|
||||||
res.sendFile(path.join(__dirname, '/html/test.html'))
|
res.sendFile(path.join(__dirname, '/html/test.html'))
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -31,4 +31,8 @@ body {
|
|||||||
transform: translateX(0);
|
transform: translateX(0);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tada{
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<head>
|
|
||||||
<title>Test</title>
|
|
||||||
<link rel="stylesheet" href="/assets/css/index.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1 class="Mino">Mino</h1>
|
|
||||||
<a href="/test">test</a>
|
|
||||||
</body>
|
|
||||||
@@ -5,6 +5,6 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1 class="Mino">Mino</h1>
|
<h1 class="Mino">Mino</h1>
|
||||||
<h2>si tu vois ça c'est que ça marche</h2>
|
<h2 class="tada">si tu vois ça c'est que ça marche</h2>
|
||||||
<a href="/test">test</a>
|
<a href="/test">test</a>
|
||||||
</body>
|
</body>
|
||||||
Reference in New Issue
Block a user