first commit
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
function testJS() {
|
||||
document.getElementById("status").textContent =
|
||||
"JavaScript from the nested folder works!";
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
body {
|
||||
background-color: lightgreen;
|
||||
text-align: center;
|
||||
font-family: Arial;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 200px;
|
||||
display: block;
|
||||
margin: 20px auto;
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.2 MiB |
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test 3 - Nested Assets</title>
|
||||
<link rel="stylesheet" href="assets/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Nested Assets Test</h1>
|
||||
<p id="status">Testing...</p>
|
||||
|
||||
<img src="assets/test-image.png" alt="Test Image">
|
||||
|
||||
<button onclick="testJS()">Test JavaScript</button>
|
||||
|
||||
<script src="assets/script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user