Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
はじめてのコミット
  • Loading branch information
kkomeng authored Sep 19, 2023
0 parents commit cde5315
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
15 changes: 15 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document test</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="foo">test 000001</div>
<div id="bar">test 000002</div>
<button id="baz">button</button>
<script src="index.js"></script>
</body>
</html>
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
document.getElementById("baz").addEventListener("click", function() {
alert('ナイスクリック 1回目');
alert('ナイスクリック 2回目');
});
9 changes: 9 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
* {
font-size: 60px;
}
#foo {
color: red;
}
#bar {
color: blue;
}

0 comments on commit cde5315

Please sign in to comment.