Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
12 changes: 12 additions & 0 deletions 09a_length/MFW/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title>Index</title>
<link rel="stylesheet" href = "style.css">

</style>
</head>
<body>
<p> index </p>
</body>
</html>
13 changes: 13 additions & 0 deletions 09a_length/MFW/page1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title>Page1</title>
<link rel="stylesheet" href = "style.css">


</head>
<body>
<p>page1</p>

</body>
</html>
11 changes: 11 additions & 0 deletions 09a_length/MFW/page2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>Page2</title>
<link rel="stylesheet" href = "style.css">
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure to not have extra spaces before and after the = sign. So instead, do:

<link rel="..." href="style.css">

</head>
<body>
<p>page2</p>

</body>
</html>
10 changes: 10 additions & 0 deletions 09a_length/MFW/page3.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title>Page3</title>
<link rel="stylesheet" href = "style.css">
</head>
<body>
<p>page3</p>
</body>
</html>
Empty file added 09a_length/MFW/style.css
Empty file.
14 changes: 14 additions & 0 deletions 09a_length/MySite/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<title> MySite </title>
<link rel="stylesheet" href="style.css"/>
</head>
<body>
<img src="http://when-will.net/images/artikel/2014/december/Tokyo-Ghoul.jpg"></img>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoops: img tags don't need to have a closing tag: <img src="..." /> should suffice :-)

<p>Tokyo Ghoul</p>
<a href="http://myanimelist.net/">MyAnimeList</a>
<a href="http://www.twitch.tv/">Twitch</a>
<a href="http://anilinkz.tv/">Anilinkz</a>
</body>
</html>
3 changes: 3 additions & 0 deletions 09a_length/MySite/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
p {
color: blue;
}
37 changes: 37 additions & 0 deletions 09a_length/RomanNumerals/numerals.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
//var number=prompt("What is your number?");

// I = 1, V = 5, X = 10, L = 50, C = 100, D = 500, M = 1,000

var roman = {
M: 1000,
D: 500,
C: 100,
L: 50,
X: 10,
V: 5,
I: 1
};
var num = 526;
var str = ''; // output DXXVI
for(var letter in roman){
var dummy = Math.floor(num/roman[letter])
if(dummy > 0){
for(var i = 1; i <= dummy; i++){
str += letter;
num -=roman[letter];
};
};
};
console.log(str);







//for (var letter in romans){
//str += Math.floor(num / romans[letter]);

// }
//}
1 change: 1 addition & 0 deletions 09a_length/arrays/colors.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
var colors = ["Blue", "Red", "Black", "Pink"];
1 change: 1 addition & 0 deletions 09a_length/javascript/hello.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Hello, World!");
5 changes: 5 additions & 0 deletions 09a_length/javascript2/helloname.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
var name=prompt("What is your name?");
function hello(){
alert("Hello, "+name);
}

3 changes: 3 additions & 0 deletions 09a_length/loops/count10.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
for (var i = 1; i > 11; i++){
console.log(i)
}
3 changes: 3 additions & 0 deletions 09a_length/loops/count476.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
for (var i = 1; i < 477; i++){
console.log(i);
}
6 changes: 6 additions & 0 deletions 09a_length/loops/prod15.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
var prod = 1;

for(var i = 1; i < 16; i++){
prod = prod * i;
}
console.log(prod+1);
6 changes: 6 additions & 0 deletions 09a_length/loops/sum128.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
var sum = 0;

for(var i = 0; i < 129; i++){
sum += i;
}
console.log(sum);
6 changes: 6 additions & 0 deletions 09a_length/loops/sum55.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
var sum = 0;

for(var i = 0; i < 56; i++){
sum += i;
}
console.log(sum);