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'));
|
||||
});
|
||||
|
||||
// Serve the test.html file at /test URL
|
||||
app.get('/test', (req, res)=> {
|
||||
res.sendFile(path.join(__dirname, '/html/test.html'))
|
||||
})
|
||||
|
||||
@@ -32,3 +32,7 @@ body {
|
||||
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>
|
||||
<body>
|
||||
<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>
|
||||
</body>
|
||||
Reference in New Issue
Block a user