Skip to content

Commit 435cc92

Browse files
authored
JavaScriptファイルとCSSファイルの指定方法を統一 (#702)
1 parent bf41f50 commit 435cc92

File tree

27 files changed

+32
-32
lines changed

27 files changed

+32
-32
lines changed

docs/1-trial-session/12-css/_samples/red-hello-world/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="ja">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="stylesheet" href="style.css" />
5+
<link rel="stylesheet" href="./style.css" />
66
<title>Title</title>
77
</head>
88
<body>

docs/1-trial-session/12-css/_samples/yellow-hello-css/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="ja">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="stylesheet" href="style.css" />
5+
<link rel="stylesheet" href="./style.css" />
66
<title>Title</title>
77
</head>
88
<body>

docs/1-trial-session/12-css/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ CSS ファイルの拡張子は通常 `.css` です。今回は `index.html` と
2323
<html lang="ja">
2424
<head>
2525
<meta charset="utf-8" />
26-
<link rel="stylesheet" href="style.css" />
26+
<link rel="stylesheet" href="./style.css" />
2727
<title>Title</title>
2828
</head>
2929
<body>
@@ -43,7 +43,7 @@ CSS ファイルの拡張子は通常 `.css` です。今回は `index.html` と
4343
## `link` 要素
4444

4545
```html title="index.html"
46-
<link rel="stylesheet" href="style.css" />
46+
<link rel="stylesheet" href="./style.css" />
4747
```
4848

4949
まず注目すべきは `link` 要素です。HTML で、`link` 要素を用いることにより、外部の CSS ファイルを読み込ませることができます。
@@ -179,7 +179,7 @@ CSS の<Term type="cssProperty">プロパティ</Term>には `color` (文字色)
179179
<html lang="ja">
180180
<head>
181181
<meta charset="utf-8" />
182-
<link rel="stylesheet" href="style.css" />
182+
<link rel="stylesheet" href="./style.css" />
183183
<title>Title</title>
184184
</head>
185185
<body>
@@ -220,7 +220,7 @@ CSS の<Term type="cssProperty">プロパティ</Term>には `color` (文字色)
220220
<html lang="ja">
221221
<head>
222222
<meta charset="utf-8" />
223-
<link rel="stylesheet" href="style.css" />
223+
<link rel="stylesheet" href="./style.css" />
224224
<title>Title</title>
225225
</head>
226226
<body>

docs/1-trial-session/13-dom/_samples/change-shopping-memo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
<li id="item2">ナス</li>
1111
<li id="item3">バジル</li>
1212
</ul>
13-
<script src="script.js"></script>
13+
<script src="./script.js"></script>
1414
</body>
1515
</html>

docs/1-trial-session/13-dom/_samples/fruit-basket/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
</head>
77
<body>
88
<ul id="fruit-basket"></ul>
9-
<script src="script.js"></script>
9+
<script src="./script.js"></script>
1010
</body>
1111
</html>

docs/2-browser-apps/03-class/_samples/count-down/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
</head>
77
<body>
88
<div id="countdown-box"></div>
9-
<script src="script.js"></script>
9+
<script src="./script.js"></script>
1010
</body>
1111
</html>

docs/2-browser-apps/03-class/_samples/shape-class/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
<title>Shape クラス</title>
66
</head>
77
<body>
8-
<script src="script.js"></script>
8+
<script src="./script.js"></script>
99
</body>
1010
</html>

docs/2-browser-apps/05-css-arrangement/_samples/absolute/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<title>Title</title>
6-
<link rel="stylesheet" href="style.css" />
6+
<link rel="stylesheet" href="./style.css" />
77
</head>
88
<body>
99
<div class="box1">box1</div>

docs/2-browser-apps/05-css-arrangement/_samples/box-model/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<title>Title</title>
6-
<link rel="stylesheet" href="style.css" />
6+
<link rel="stylesheet" href="./style.css" />
77
</head>
88
<body>
99
<div class="box">Foo</div>

docs/2-browser-apps/05-css-arrangement/_samples/exercise/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<title>課題</title>
6-
<link rel="stylesheet" href="style.css" />
6+
<link rel="stylesheet" href="./style.css" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
88
</head>
99
<body>

0 commit comments

Comments
 (0)