Skip to content

Instantly share code, notes, and snippets.

View keesmark's full-sized avatar
🦖
Just Do It!

Katsuhisa Hata keesmark

🦖
Just Do It!
  • Freelancer
  • Japan
View GitHub Profile
<h1>テストでバカを卒業</h1>
<p>バカバカ言うてますけど僕もバカです。</p>
<h2>簡単なテストです。</h2>
<p>なんかおかしいと思ったら、もう1回確認しましょう!</p>
<p>どんどんどんどん長い文章になってくるので、ここら辺で段落変えよ<br>やっと段落下げた!この調子で頑張ろう。</p>
@keesmark
keesmark / index.html
Last active December 25, 2019 02:48
css-html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./style.css">
<title>Document</title>
</head>
<body>
<div class="red">ここは赤</div>
@keesmark
keesmark / index.html
Created January 7, 2020 23:27
環境構築
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="./main.css" />
</head>
<body>
<h1>こんな感じで表示されます。</h1>
@keesmark
keesmark / index.js
Created April 18, 2020 10:52
JS入門1
console.log('Hello, World!');
@keesmark
keesmark / index.js
Created April 18, 2020 10:58
JS入門2
console.log( 1 + 1 );
@keesmark
keesmark / index.html
Created April 18, 2020 12:33
JS入門3
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<script src="index.js"></script>
</body>
@keesmark
keesmark / index.js
Created April 18, 2020 13:10
JS入門4
console.log(1 + 1);
console.log(1 - 1);
console.log(1 * 1);
console.log(1 / 1);
console.log(3 % 2);
@keesmark
keesmark / index.js
Created April 19, 2020 12:38
JS配列1
let array = [];
let 好きな名前 = []←が配列の空の箱の意味;
最初から値を入れる場合は
文字の場合は""で囲む
let name = ["太郎", "二郎", "三郎"];
数値の場合はそのまま
@keesmark
keesmark / index.js
Created April 19, 2020 12:43
JS配列2
let name = ["太郎", "二郎", "三郎"];
name.push("四郎");
中身はこんな感じになる
["太郎", "二郎", "三郎", "四郎"]
数字も同じく
let number = [1, 2, 3, 4, 5];
@keesmark
keesmark / index.js
Created April 19, 2020 12:53
JS配列3
let name = ["太郎", "二郎", "三郎"];
name.unshift("一郎");
中身はこんな感じになる
["一郎", "太郎", "二郎", "三郎"]
数字も同じく
let number = [1, 2, 3, 4, 5];