add boiler css and js files
This commit is contained in:
parent
e862d571a0
commit
3e2a9c1faf
0
assets/css/custom.css
Normal file
0
assets/css/custom.css
Normal file
7
assets/src/example.js
Normal file
7
assets/src/example.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
var exampleLog = () => {
|
||||||
|
console.log('This is an example log message.');
|
||||||
|
}
|
||||||
|
|
||||||
|
var aFunctionCall = () => {
|
||||||
|
alert('You have clicked the primary button!');
|
||||||
|
}
|
||||||
@ -4,13 +4,18 @@
|
|||||||
<title>My Web Page</title>
|
<title>My Web Page</title>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<link rel="stylesheet" href="assets/bootstrap-5.3.8-dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="assets/bootstrap-5.3.8-dist/css/bootstrap.min.css">
|
||||||
|
<link rel="stylesheet" href="assets/css/custom.css">
|
||||||
</head>
|
</head>
|
||||||
<body class="p-4">
|
<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-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/bootstrap-5.3.8-dist/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/src/example.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
23
secondSite.html
Normal file
23
secondSite.html
Normal 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>
|
||||||
Loading…
x
Reference in New Issue
Block a user