Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanmosakowski committed Feb 8, 2024
0 parents commit 113c57f
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
Binary file added h4h.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<title>My Website</title>
<link rel="stylesheet" href="styles.css">
<script src="script.js"></script>
</head>
<body>
<!-- This is my comment -->
<h1>My name is Beatrice</h1>
<h2>I go to SCU!</h2>
<p id="my-paragraph">This is my paragraph</p>
<p>This is my other paragraph<a href="google.com">This link goes to google</a></p>
<button onclick="myFunction()">Cool Button</button>
<img id="image" src="h4h.png" alt="h4h logo">
</body>
</html>
7 changes: 7 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
function myFunction() {
let paragraph = document.getElementById("my-paragraph");
paragraph.innerHTML = "This paragraph was updated!";

let image = document.getElementById("image");
image.style.width = "300px";
}
10 changes: 10 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
body{
background-color: lightblue;
color: white;
}
img{
width: 400px;
}
button{
margin: 20px;
}

0 comments on commit 113c57f

Please sign in to comment.