This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>テストでバカを卒業</h1> | |
<p>バカバカ言うてますけど僕もバカです。</p> | |
<h2>簡単なテストです。</h2> | |
<p>なんかおかしいと思ったら、もう1回確認しましょう!</p> | |
<p>どんどんどんどん長い文章になってくるので、ここら辺で段落変えよ<br>やっと段落下げた!この調子で頑張ろう。</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('Hello, World!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log( 1 + 1 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log(1 + 1); | |
console.log(1 - 1); | |
console.log(1 * 1); | |
console.log(1 / 1); | |
console.log(3 % 2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let array = []; | |
let 好きな名前 = []←が配列の空の箱の意味; | |
最初から値を入れる場合は | |
文字の場合は""で囲む | |
let name = ["太郎", "二郎", "三郎"]; | |
数値の場合はそのまま |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let name = ["太郎", "二郎", "三郎"]; | |
name.push("四郎"); | |
中身はこんな感じになる | |
["太郎", "二郎", "三郎", "四郎"] | |
数字も同じく | |
let number = [1, 2, 3, 4, 5]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let name = ["太郎", "二郎", "三郎"]; | |
name.unshift("一郎"); | |
中身はこんな感じになる | |
["一郎", "太郎", "二郎", "三郎"] | |
数字も同じく | |
let number = [1, 2, 3, 4, 5]; |
OlderNewer