Fertiges PONG-Spiel (Beta-Version zu finden unter "Tag2_EigenesSpiel.py")

This commit is contained in:
Jonka Winkle 2018-10-16 10:11:04 +02:00
parent fbffbfe332
commit 5722b22818
6 changed files with 119 additions and 0 deletions

34
AB4_Aufg1.html Normal file
View File

@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Aufgabe_4_Tabelle_Fernsehsender</title>
<link rel="stylesheet" href="Format_zu_AB5.css">
<script src="Popups_zu_AB6.js"></script>
</head>
<body>
<table>
<tr>
<th id="P1" class="Ueberschrift" >ARD</th>
<th id="P2" class="Ueberschrift">ZDF</th>
<th id="P3" class="Ueberschrift">RTL</th>
</tr>
<tr>
<td colspan="2">Öffentlich-Rechtlich</td>
<td id="priv">Privat</td>
</tr>
<tr>
<td>Tagesschau</td>
<td>Heute</td>
<td>RTL aktuell</td>
</tr>
<tr>
<td>Babylon Berlin</td>
<td>Neo Magazin</td>
<td>IBES</td>
</tr>
</table>
</body>
</html>

18
AB4_Aufg2.html Normal file

File diff suppressed because one or more lines are too long

35
Format_zu_AB5.css Normal file
View File

@ -0,0 +1,35 @@
*{
color: blue;
align-content: center;
}
.Ueberschrift {
font-style: italic;
}
#priv {
font-weight: bold;
}
table {
border: 1px solid;
border-color: black;
}
th {
border: 1px solid;
border-color: black;
background: gray;
}
tr {
border: 1px solid;
border-color: black;
}
td {
border: 1px solid;
border-color: black;
background: gray;
text-align: center;
}

11
HTML_Test_Doc.html Normal file
View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HelloWorldHTML</title>
<link rel="stylesheet" href="formatiert.css">
</head>
<body>
Hallo Welt!
</body>
</html>

18
Popups_zu_AB6.js Normal file
View File

@ -0,0 +1,18 @@
function afterLoaded() {
// alert("GELADEN!")
// var bla = document.getElementsByName()
var ard = document.getElementById("P1")
var zdf = document.getElementById("P2")
var rtl = document.getElementById("P3")
// ard.onclick = function() {alert("Erstes Programm");}
ard.addEventListener("click", function() {alert("Erstes Programm");} )
zdf.addEventListener("click", function() {alert("Zweites Programm");} )
rtl.addEventListener("click", function() {alert("Drittes Programm");} )
}
window.addEventListener('load', afterLoaded);

3
formatiert.css Normal file
View File

@ -0,0 +1,3 @@
*{
color: red;
}