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
11 changes: 10 additions & 1 deletion solutions/01_hello_html/hello.html
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
This is just an example! Hehe.
<!DOCTYPE html>
<html>
<head>
<title> </title>
<script src="hello_world.js"></script>
</head>

<body>
</body>
</html>
3 changes: 3 additions & 0 deletions solutions/01_hello_html/hello_world.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
var string = "Hello World!";

console.log(string)
10 changes: 10 additions & 0 deletions solutions/01_hello_js/hello.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title> </title>
<script src="hello_world.js"></script>
</head>

<body>
</body>
</html>
3 changes: 3 additions & 0 deletions solutions/01_hello_js/hello_world.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
var string = "Hello World!";

console.log(string)
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, missing semicolon ?

10 changes: 10 additions & 0 deletions solutions/02_alert_js/alert.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title> </title>
<script src="alert.js"></script>
</head>
<body>

</body>
</html>
3 changes: 3 additions & 0 deletions solutions/02_alert_js/alert.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
var name = prompt("What's your name?");
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.

noice!


console.log("Hello " + name);
9 changes: 9 additions & 0 deletions solutions/02_hello_html/helloworld.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title> Hello! </title>
</head>
<body>
<p> World! </p>
</body>
</html>
12 changes: 12 additions & 0 deletions solutions/03_img_html/img.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title> </title>
</head>
<body>
<img src="http://images.panda.org/assets/images/pages/welcome/orangutan_1600x1000_279157.jpg"/>
<p>yes</p>
<img src="http://www.planwallpaper.com/static/images/desktop-year-of-the-tiger-images-wallpaper.jpg"/>
<p>si</p>
</body>
</html>
13 changes: 13 additions & 0 deletions solutions/04_divs_html/divs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title> </title>
</head>
<body>

<div class="image"><img src="http://images.panda.org/assets/images/pages/welcome/orangutan_1600x1000_279157.jpg"/> </div>

<div id="text"><p>animal</p> </div>

</body>
</html>
12 changes: 12 additions & 0 deletions solutions/05_website_html/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title> index</title>
<a href="/01-JShunt/solutions/06_website_html/page_.html"> page1 </a>
<a href="/01-JShunt/solutions/06_website_html/page_2.html"> page2 </a>
<a href="/01-JShunt/solutions/06_website_html/page_3.html"> page3 </a>
</head>
<body>
<p> index page </p>
</body>
</html>
9 changes: 9 additions & 0 deletions solutions/05_website_html/page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title> page 1</title>
</head>
<body>
<p> page 1 </p>
</body>
</html>
9 changes: 9 additions & 0 deletions solutions/05_website_html/page2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title> page 2 </title>
</head>
<body>
<p> page 2 </p>
</body>
</html>
9 changes: 9 additions & 0 deletions solutions/05_website_html/page3.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title> page 3 </title>
</head>
<body>
<p> page 3 </p>
</body>
</html>
12 changes: 12 additions & 0 deletions solutions/06_style_css/index_1_.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title> index</title>
<a href="/01-JShunt/solutions/06_website_html/page_.html"> page1 </a>
<a href="/01-JShunt/solutions/06_website_html/page_2.html"> page2 </a>
<a href="/01-JShunt/solutions/06_website_html/page_3.html"> page3 </a>
</head>
<body>
<p> index page </p>
</body>
</html>
9 changes: 9 additions & 0 deletions solutions/06_style_css/page_1_.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title> page 1</title>
</head>
<body>
<p> page 1 </p>
</body>
</html>
9 changes: 9 additions & 0 deletions solutions/06_style_css/page_2_.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title> page 2 </title>
</head>
<body>
<p> page 2 </p>
</body>
</html>
9 changes: 9 additions & 0 deletions solutions/06_style_css/page_3_.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title> page 3 </title>
</head>
<body>
<p> page 3 </p>
</body>
</html>
9 changes: 9 additions & 0 deletions solutions/07_mysite_html/index_.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title> index</title>
</head>
<body>
<p> index page </p>
</body>
</html>
9 changes: 9 additions & 0 deletions solutions/07_mysite_html/page_.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title> page 1</title>
</head>
<body>
<p> page 1 </p>
</body>
</html>
9 changes: 9 additions & 0 deletions solutions/07_mysite_html/page_2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title> page 2 </title>
</head>
<body>
<p> page 2 </p>
</body>
</html>
9 changes: 9 additions & 0 deletions solutions/07_mysite_html/page_3.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title> page 3 </title>
</head>
<body>
<p> page 3 </p>
</body>
</html>
10 changes: 10 additions & 0 deletions solutions/09a_length/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title> </title>
<script src="length.js"> </script>
</head>
<body>

</body>
</html>
3 changes: 3 additions & 0 deletions solutions/09a_length/length.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
var string = "kevin is stinky";
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.

🐼


console.log(string.length);
10 changes: 10 additions & 0 deletions solutions/10_roman_js/roman.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
var I = 1;
var V = 5;
var X = 10;
var L = 50;
var C = 100;
var D = 500;
var M = 1000;