Skip to content
Snippets Groups Projects
Commit be48a7a2 authored by Subliminal Guy's avatar Subliminal Guy
Browse files

Initial Commit

parents
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>rbb Schulung</title>
</head>
<body>
<button class="main-button" type="button">Click</button>
<script type="text/javascript" src="index.js"></script>
</body>
</html>
const button = document.getElementsByClassName("main-button")[0];
button.addEventListener("click", () => {
console.log("clicked");
});
{
"name": "vanilla",
"version": "1.0.0",
"description": "A basic vanilla repo for education",
"main": "index.html",
"scripts": {
"test": "npm run dev"
},
"author": "subliminalguy",
"license": "ISC"
}
body {
height: 100vh;
margin: 0;
background: deepskyblue;
display: flex;
justify-content: center;
align-items: center;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment