Skip to content

Commit 1bced3c

Browse files
committed
Fix broken HTML
1 parent 852775b commit 1bced3c

File tree

16 files changed

+88
-48
lines changed

16 files changed

+88
-48
lines changed

CodingChallenges/CC_037_diastic/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<h1>Jackson Mac Low Diastic</h1>
1111

1212
<p>
13-
seed: <input id="seed" value="rainbow"></input>
13+
seed: <input id="seed" value="rainbow" />
1414
<br/>
1515
<button id="submit">submit</button>
1616

CodingChallenges/CC_044_afinn111SentimentAnalysis/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<h1>AFINN Sentiment Demo</h1>
1111

1212
<p>
13-
Type here:</br>
13+
Type here:<br />
1414
<textarea id="txt" cols=50 rows=10></textarea>
1515
</p>
1616

Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
<html>
2-
<head>
3-
<meta charset="UTF-8" />
4-
<!-- PLEASE NO CHANGES BELOW THIS LINE (UNTIL I SAY SO) -->
5-
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.1/p5.js"></script>
6-
<!-- uncomment lines below to include extra p5 libraries -->
7-
<!--<script language="javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.1/addons/p5.dom.js"></script>-->
8-
<!--<script language="javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.1/addons/p5.sound.js"></script>-->
9-
<script language="javascript" type="text/javascript" src="sketch_170111a.js"></script>
10-
<!-- OK, YOU CAN MAKE CHANGES BELOW THIS LINE AGAIN -->
11-
<!-- this line removes any default padding and style. you might only need one of these values set. -->
12-
<style> body {padding: 0; margin: 0;} </style>
13-
<script language="javascript" type="text/javascript" src="sketch.js"></script>
14-
<script language="javascript" type="text/javascript" src="Circle.js"></script>
15-
<script language="javascript" type="text/javascript" src="p5js-temp-Circle993374999066010459.js" class=" temp"></script>
16-
</head>
17-
<body>
2+
<head>
3+
<meta charset="UTF-8" />
4+
<!-- PLEASE NO CHANGES BELOW THIS LINE (UNTIL I SAY SO) -->
5+
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.1/p5.js"></script>
6+
<!-- uncomment lines below to include extra p5 libraries -->
7+
<!--<script language="javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.1/addons/p5.dom.js"></script>-->
8+
<!--<script language="javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.1/addons/p5.sound.js"></script>-->
9+
<!-- OK, YOU CAN MAKE CHANGES BELOW THIS LINE AGAIN -->
10+
<!-- this line removes any default padding and style. you might only need one of these values set. -->
11+
<style> body {padding: 0; margin: 0;} </style>
12+
<script language="javascript" type="text/javascript" src="sketch.js"></script>
13+
<script language="javascript" type="text/javascript" src="Circle.js"></script>
14+
</head>
15+
<body>
1816
</body>
1917
</html>

CodingChallenges/CC_073_Acrostic/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<h1>Acrostic</h1>
1111

1212
<p>
13-
word: <input id="wordinput" value="rainbow"></input>
13+
word: <input id="wordinput" value="rainbow" />
1414
<button id = "submitbutton">submit</button>
1515
</p>
1616

CodingChallenges/CC_075_Wikipedia/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<h2>Wikipedia Coding Challenge Thing</h2>
1818

1919
<p>
20-
word: <input id="userinput" value="rainbow"></input>
20+
word: <input id="userinput" value="rainbow" />
2121
</p>
2222
</body>
2323
</html>

CodingChallenges/CC_077_Recursion_Processing/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
## Community Editions
88
Add your Community Editions here!
99

10-
*Fractaloid - Interactive Fractal Branches by Diego de la Fuente Curaqueo - [Demo](https://www.openprocessing.org/sketch/457282) | [Source](github.com/diegodelaefe/Fractaloid)
10+
*Fractaloid - Interactive Fractal Branches by Diego de la Fuente Curaqueo - [Demo](https://www.openprocessing.org/sketch/457282) | [Source](https://github.com/diegodelaefe/Fractaloid)
1111
* Alca - [Demo](https://codepen.io/Alca/full/pWaZaX/) | [Source](https://codepen.io/Alca/pen/pWaZaX/right)
1212
* Fractal Ball - jjwkdl - [Demo](https://jjwkdl.github.io/wordpress-content/javascript/fractal-ball/) | [Source](https://github.com/jjwkdl/wordpress-content/tree/master/javascript/fractal-ball)
1313
* Justin Riley Recursive Remix - [Demo](https://recursion.glitch.me/) | [Source](https://glitch.com/edit/#!/recursion)

CodingChallenges/CC_079_Number_Guessing_Chatbot/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<h1>Chatbot</h1>
2424

2525
<p>
26-
say: <input id="user_input"></input>
26+
say: <input id="user_input" />
2727
<button id="submit">submit</button>
2828
</p>
2929

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
let colorsSizes = {
2+
"2": {
3+
size: 64,
4+
color: "#F35956"
5+
},
6+
"4": {
7+
size: 64,
8+
color: "#F35956"
9+
},
10+
"8": {
11+
size: 64,
12+
color: "#49BB6C"
13+
},
14+
"16": {
15+
size: 64,
16+
color: "#2494C1"
17+
},
18+
"32": {
19+
size: 64,
20+
color: "#9659A7"
21+
},
22+
"64": {
23+
size: 64,
24+
color: "#F1C500"
25+
},
26+
"128": {
27+
size: 36,
28+
color: "#FF5956"
29+
},
30+
"256": {
31+
size: 36,
32+
color: "#F1C5FF"
33+
},
34+
"512": {
35+
size: 36,
36+
color: "#00000"
37+
},
38+
"1024": {
39+
size: 64,
40+
color: "#24FFC1"
41+
},
42+
"2048": {
43+
size: 64,
44+
color: "#A659A9"
45+
},
46+
}

Courses/A2Z/session01/1-05_StringObject/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<body>
1010
<h1>JavaScript Strings</h1>
1111

12-
<input value="rainbow rainbow boy do i love rainbows" id="txt" size="50"></textarea>
12+
<input value="rainbow rainbow boy do i love rainbows" id="txt" size="50" />
1313
<p><button id="submit">submit</button></p>
1414
<p id = "output"></p>
1515

Courses/A2Z/session09/9-03_FirebaseRetrievingData/index.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111

1212
<div id="game">
1313
</div>
14-
<p>
15-
<ol id="scorelist">
16-
</ol>
17-
</p>
14+
<ol id="scorelist">
15+
</ol>
1816
</body>
1917
</html>

Courses/A2Z/session11/11-06_Pop-ups_Messaging/sketch/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<body>
1111
<h1>Paragraph Replacer</h1>
1212
<p>
13-
<input id="userinput"></input>
13+
<input id="userinput" />
1414
</p>
1515
</body>
1616
</html>

Tutorials/P5JS/p5.js/09/9.07_p5.js_Drawing_Object_Trails/ES6_Version/index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.12/addons/p5.dom.min.js"></script>
66
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.12/addons/p5.sound.min.js"></script>
77
<script type="text/javascript" src="sketch.js"></script>
8-
<link rel="stylesheet" type="text/css" href="style.css">
98
<style> body {padding: 0; margin: 0;} </style>
109
</head>
1110
<body>
1211
</body>
13-
</html>
12+
</html>

Tutorials/P5JS/p5.js/09/9.08_p5.js_Random_Circles_with_No_Overlap/ES6_Version/index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.12/addons/p5.dom.min.js"></script>
66
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.12/addons/p5.sound.min.js"></script>
77
<script type="text/javascript" src="sketch.js"></script>
8-
<link rel="stylesheet" type="text/css" href="style.css">
98
<style> body {padding: 0; margin: 0;} </style>
109
</head>
1110
<body>
1211
</body>
13-
</html>
12+
</html>

Tutorials/P5JS/p5.js/10/10.06_p5.js_api_query_user_input/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
<style> body {padding: 0; margin: 0;} canvas {vertical-align: top;} </style>
1414
</head>
1515
<body>
16-
16+
1717
<p>
18-
City: <input id ="city" value="London"></input>
18+
City: <input id ="city" value="London" />
1919
<br/>
2020
<button id="submit">submit</button>
2121
</p>

Tutorials/Processing/unsorted/conditionals/bouncingball/web-export/index.html

+13-13
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<title>moving_ball : Built with Processing and Processing.js</title>
55
<link rel="icon" type="image/x-icon" href="data:image/x-icon;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAQAAVzABAEAjBQAaDwYAWjUGAGE6CQBrQQ0ATS8PAFhAJwBUQC8AbFI6AHVXPACBZk4A4NrWAPb19QAAAAAAAMmZmZmZmgAJIwAAAAAAcMIjPjA+PjAKpxIuMDMzMAm0Ii4zMzMACaIiLt3dMAAJtyIuIzPQAAm0Un5yM+IzKLRkfncy4iIotRF+dyLkIiq0QX53F+EiGrQUTkd34iIatEVu7u5iIVrBVVRBRFRVbAtGZGZla2uwAMu7u7u8vADAAwAAgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIABAADAAwAA" />
66
<meta name="Generator" content="Processing" />
7-
<!-- - - - - - - - - - - - - - - - - - - - -
7+
<!-- - - - - - - - - - - - - - - - - - - - -
88
+
9-
+ Wondering how this works?
9+
+ Wondering how this works?
1010
+
1111
+ Go to: http://processing.org/
1212
+ and: http://processingjs.org/
@@ -19,26 +19,26 @@
1919
font-size: 11px; font-weight: normal; text-decoration: none;
2020
line-height: 1.5em;
2121
}
22-
a img {
22+
a img {
2323
border: 0px solid transparent;
2424
}
25-
a, a:link, a:visited, a:active, a:hover {
25+
a, a:link, a:visited, a:active, a:hover {
2626
color: #cdcdcd; text-decoration: underline;
2727
}
2828
h1 {
2929
font-family: Arial, Helvetica Neue, Verdana, Geneva, sans-serif;
3030
width: 100%; letter-spacing: 0.1em;
3131
margin-bottom: 1em; font-size: 1.65em;
3232
}
33-
canvas {
34-
display: block;
35-
outline: 0px;
36-
margin-bottom: 1.5em;
33+
canvas {
34+
display: block;
35+
outline: 0px;
36+
margin-bottom: 1.5em;
3737
}
38-
#content {
38+
#content {
3939
margin: 50px auto 0px auto; padding: 25px 25px 15px 25px;
4040
width: 640px; min-width: 300px; overflow: auto;
41-
border-left: 1px solid #444; border-top: 1px solid #444;
41+
border-left: 1px solid #444; border-top: 1px solid #444;
4242
border-right: 1px solid #333; border-bottom: 1px solid #333;
4343
background-color: #3d3d3d;
4444
}
@@ -47,7 +47,7 @@
4747
<scriptalert("Your browser does not support the canvas tag.");</script>
4848
<![endif]-->
4949
<script type="text/javascript" src="processing.js"></script>
50-
<script
50+
<script type="test/javascript">
5151
// convenience function to get the id attribute of generated sketch html element
5252
function getProcessingSketchId () { return 'movingball'; }
5353
</script>
@@ -56,7 +56,7 @@
5656
<body>
5757
<div id="content">
5858
<div>
59-
<canvas id="movingball" data-processing-sources="moving_ball.pde"
59+
<canvas id="movingball" data-processing-sources="moving_ball.pde"
6060
width="640" height="360">
6161
<p>Your browser does not support the canvas tag.</p>
6262
<!-- Note: you can put any alternative content here. -->
@@ -67,7 +67,7 @@
6767
</div>
6868
<h1>moving_ball</h1>
6969
<p id="description"></p>
70-
<p id="sources">Source code: <a href="moving_ball.pde">moving_ball</a> </p>
70+
<p id="sources">Source code: <a href="../bouncingball.pde">moving_ball</a> </p>
7171
<p>
7272
Built with <a href="http://processing.org" title="Processing">Processing</a>
7373
and <a href="http://processingjs.org" title="Processing.js">Processing.js</a>

_Courses/programming-with-text/10-chatbots/10.2-rivescript.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ video_number: 2
44
date: 2017-10-12
55
video_id: wf8w1BJb9Xc
66
can_contribute: true
7-
repository: false,
7+
repository: false
88

99
links:
1010
- title: "RiveScript"

0 commit comments

Comments
 (0)