add boiler css and js files

This commit is contained in:
Adrian Joost 2026-02-10 16:23:30 +01:00
parent e862d571a0
commit 3e2a9c1faf
4 changed files with 37 additions and 2 deletions

0
assets/css/custom.css Normal file
View File

7
assets/src/example.js Normal file
View File

@ -0,0 +1,7 @@
var exampleLog = () => {
console.log('This is an example log message.');
}
var aFunctionCall = () => {
alert('You have clicked the primary button!');
}

View File

@ -4,13 +4,18 @@
<title>My Web Page</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="assets/bootstrap-5.3.8-dist/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/custom.css">
</head>
<body class="p-4">
<h1 class="text-primary">Hello Bootstrap</h1>
<h1 class="text-primary">Hello From Main Page</h1>
<a href="index.html">Go to Main Page</a>
<a href="secondSite.html">Go to Second Page</a>
<br />
<button class="btn btn-primary">Primary Button</button>
<button class="btn btn-secondary">Secondary Button</button>
<button class="btn btn-secondary" onclick="exampleLog()">Secondary Button</button>
<script src="assets/bootstrap-5.3.8-dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/src/example.js"></script>
</body>
</html>

23
secondSite.html Normal file
View File

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="de">
<head>
<title>My Web Page</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="assets/bootstrap-5.3.8-dist/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/custom.css">
</head>
<body class="p-4">
<h1 class="text-primary">Hello From Second Page</h1>
<a href="index.html">Go to Main Page</a>
<a href="secondSite.html">Go to Second Page</a>
<br />
<button class="btn btn-primary" onclick="aFunctionCall()">Primary Button</button>
<button class="btn btn-secondary" onclick="exampleLog()">Secondary Button</button>
<script src="assets/bootstrap-5.3.8-dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/src/example.js"></script>
</body>
</html>