Rename project and add handling for images and assets.

This commit is contained in:
calcu1on
2025-04-20 23:43:18 -04:00
parent 92075763db
commit 99ea2cf3ad
6 changed files with 44 additions and 29 deletions

View File

@@ -1,2 +1,2 @@
let body = document.getElementsByTagName('h1');
console.log(body);
alert("time to rock");
console.log("hello");

View File

@@ -1,4 +1,12 @@
body {
color: white;
background: purple;
max-width: 95%;
display: block;
margin: auto;
}
img {
max-width: 100%;
display: block;
}

View File

@@ -2,11 +2,11 @@
<html>
<head>
<title>Toolshed</title>
<link rel="stylesheet" href="/assets/style.css">
<script src="/assets/main.js" defer></script>
<link rel="stylesheet" href="/assets/style.css" />
<script src="/assets/main.js"></script>
</head>
<body>
<h1>This is my toolshed. This web server is built using Rust :)</h1>
<img src="/images/6.jpg"/>
<img src="/images/6.jpg" alt="some image" />
</body>
</html>