Browse Source

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

master
Jonka Winkle 5 years ago
parent
commit
5722b22818
6 changed files with 119 additions and 0 deletions
  1. 34
    0
      AB4_Aufg1.html
  2. 18
    0
      AB4_Aufg2.html
  3. 35
    0
      Format_zu_AB5.css
  4. 11
    0
      HTML_Test_Doc.html
  5. 18
    0
      Popups_zu_AB6.js
  6. 3
    0
      formatiert.css

+ 34
- 0
AB4_Aufg1.html 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
- 0
AB4_Aufg2.html
File diff suppressed because it is too large
View File


+ 35
- 0
Format_zu_AB5.css 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
- 0
HTML_Test_Doc.html 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
- 0
Popups_zu_AB6.js 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
- 0
formatiert.css View File

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

Loading…
Cancel
Save