Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Hi Beth, I removed some extra </body> tags in a few documents (there were 2 closing body tags..)#1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
MBing wants to merge1 commit intobethrobson:master
base:master
Choose a base branch
Loading
fromMBing:master
Open
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletionchapter1/birthday.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,6 @@
<title>Happy Birthday</title>
</head>
<body>
</body>
<script>
var name = "Joe";
var i = 0;
Expand Down
24 changes: 12 additions & 12 deletionschapter1/generic.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Just a Generic Page</title>
<script>
setTimeout(wakeUpUser, 5000);
function wakeUpUser() {
alert("Are you going to stare at this boring page forever?");
}
</script>
<meta charset="utf-8">
<title>Just a Generic Page</title>
<script>
setTimeout(wakeUpUser, 5000);
function wakeUpUser() {
alert("Are you going to stare at this boring page forever?");
}
</script>
</head>
<body>
<h1>Just a generic heading</h1>
<p>Not a lot to read about here. I'm just an obligatory paragraph living
in an example in a JavaScript book. I'm looking for something to make my
life more exciting.</p>
<h1>Just a generic heading</h1>
<p>Not a lot to read about here. I'm just an obligatory paragraph living
in an example in a JavaScript book. I'm looking for something to make my
life more exciting.</p>
</body>
</html>

5 changes: 2 additions & 3 deletionschapter1/howdy.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,10 +5,9 @@
<title>Howdy</title>
</head>
<body>
</body>
<script>
message = "Howdy" + " " + "partner";
console.log(message);
message = "Howdy" + " " + "partner";
console.log(message);
</script>
</body>
</html>
1 change: 0 additions & 1 deletionchapter1/icecream.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,6 @@
<title>Icecream!</title>
</head>
<body>
</body>
<script src="code.js"></script>
<!--
<script>
Expand Down
34 changes: 17 additions & 17 deletionschapter1/index.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>My First JavaScript</title>
<meta charset="utf-8">
<title>My First JavaScript</title>
</head>
<body>
<script>
var word = "bottles";
var count = 99;
while (count > 0) {
console.log(count + " " + word + " of beer on the wall");
console.log(count + " " + word + " of beer,");
console.log("Take one down, pass it around,");
count = count - 1;
if (count > 0) {
console.log(count + " " + word + " of beer on the wall.");
} else {
console.log("No more " + word + " of beer on the wall.");
}
}
<script>
var word = "bottles";
var count = 99;
while (count > 0) {
console.log(count + " " + word + " of beer on the wall");
console.log(count + " " + word + " of beer,");
console.log("Take one down, pass it around,");
count = count - 1;
if (count > 0) {
console.log(count + " " + word + " of beer on the wall.");
} else {
console.log("No more " + word + " of beer on the wall.");
}
}

</script>
</script>
</body>
</html>

24 changes: 12 additions & 12 deletionschapter1/kids.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>For Kids Only</title>
<script>
var age = 25;
var name = "Owen";
if (age > 14) {
alert("Sorry this page is for kids only!");
} else {
alert("Welcome " + name + "!");
}
</script>
<meta charset="utf-8">
<title>For Kids Only</title>
<script>
var age = 25;
var name = "Owen";
if (age > 14) {
alert("Sorry this page is for kids only!");
} else {
alert("Welcome " + name + "!");
}
</script>
</head>
<body>
<h1>This page is for kids only!</h1>
<h1>This page is for kids only!</h1>
</body>
</html>


[8]ページ先頭

©2009-2025 Movatter.jp