Public feed #3791824

Etwas

public unlisted text v1 · immutable
Raw Edit
·published 2017-04-05 16:19 UTC
rendered paste body
/*Das ist die Datei mit dem Sound */
<!DOCTYPE html>
  <head>
      <link href="Quiz/style.css" rel="stylesheet">
      <link href="all.css" rel="stylesheet">
      <title>
          Project-Z3RO
      </title>
      <script>
        var audio = new Audio('quiz/hintergrund1.mp3');
        audio.play();
        audio.loop = true;
      </script>
  </head>



  <body>
<!-- NAVBAR -->
    <div class="navbar">
			<a class="navbar_A" class="Project-Z3RO" href="index.html" id="navbar_A" background-color="#d95b91">Project-Z3RO</a>
			<a href="#news" class="navbar_A">News</a>
			<a href="#contact" class="navbar_A">Spiele</a>
			<a href="#about" class="navbar_A">Kontakt</a>
			<a href="#" class="social_media">Soziale Netzwerke</a>
      <a class="active" href="quiz.html" class="quiz_main">Quiz</a>
		</div>
    <button background-color="#444444" class="Login" id="login" type="Button" onclick="document.getElementById('loginhide').style.display = 'block'; document.getElementById('bordernoclick').style.border = '100000px';">Login</Button>
    <button class="Register" type="button">Register</button>
<!-- /NAVBAR -->
<!-- Login und Register -->
<div id="loginhide" class="loginanimation">
<form class="loginanimation" action="/action_page.php"><!--BEARBEITEN-->
  <div id="bordernoclick"></div>
  <div id="LoginBackground"><p>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</p><p>&nbsp</p><p>&nbsp</p><p>&nbsp</p><p>&nbsp</p><p>&nbsp</p><p>&nbsp</p><p>&nbsp</p><p>&nbsp</p></div>
  <div class="Login-Main">
    <input type="text" placeholder="Benutzername" name="uname" required>

    <input type="password" placeholder="Passwort" name="psw" required>

    <button id="LoginButton" type="submit">Login</button>
    <input type="checkbox" checked="checked"> Passwort speichern
  </div>

  <div class="Login-Main">
    <button type="button" class="LoginCancel"  onclick="document.getElementById('loginhide').style.display = 'none' ">Cancel</button>
  </div>
</div>
<!-- ENDE LOGIN / REGISTER-->
<div id="welcome">W3LC0M3</div>
<div class="start">
  <a href="quiz1.html">
    <div id="start0">Start</div>
    <div id="start1">Start</div>
    <div id="start2">Start</div>
    <div id="start3">Start</div>
    <div id="start4">Start</div>
    <div id="start5">Start</div>
    <div id="start6">Start</div>
    <div id="start7">Start</div>
    <div id="start8">Start</div>
    <div id="start9">Start</div>
  </a>
</div>

  <div id="musicstop1" onclick="audio.pause();audio.currentTime = 0"><img src="Bilder/pause.png" alt="⏸"></div>
  <div id="musicplay1" onclick="audio.play()"><img src="Bilder/play.png" alt="▶️"></div>













  </body>
</html>








/*Das ist die Datei mit den Bildern die BIlder sind in der Unterkategorie "C"*/


<!DOCTYPE html>
  <head>
      <link href="Quiz/style.css" rel="stylesheet">
      <link href="all.css" rel="stylesheet">
      <title>
          Project-Z3RO
      </title>
      <script language="javascript" type="text/javascript" src="Quiz/script.js">
        document.getElementById('A_B').onclick = function() {document.getElementById('A').style.display = 'none';};
      </script>
  </head>



  <body>
<!-- NAVBAR -->
<div class="navbar">
    <a class="navbar_A" class="Project-Z3RO" href="index.html" id="navbar_A" background-color="#d95b91">Project-Z3RO</a>
    <a href="#news" class="navbar_A">News</a>
    <a href="#contact" class="navbar_A">Spiele</a>
    <a href="#about" class="navbar_A">Kontakt</a>
    <a href="#" class="social_media">Soziale Netzwerke</a>
  <div id="quizgame">
    <a class="active" class="quiz_main">Quiz</a>
  </div>
</div>
    <button background-color="#444444" class="Login" id="login" type="Button" onclick="document.getElementById('loginhide').style.display = 'block'; document.getElementById('bordernoclick').style.border = '100000px';">Login</Button>
    <button class="Register" type="button">Register</button>
<!-- /NAVBAR -->
<!-- Login und Register -->
<div id="loginhide" class="loginanimation">
<form class="loginanimation" action="/action_page.php"><!--BEARBEITEN-->
  <div id="bordernoclick"></div>
  <div id="LoginBackground"><p>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</p><p>&nbsp</p><p>&nbsp</p><p>&nbsp</p><p>&nbsp</p><p>&nbsp</p><p>&nbsp</p><p>&nbsp</p><p>&nbsp</p></div>
  <div class="Login-Main">
    <input type="text" placeholder="Benutzername" name="uname" required>

    <input type="password" placeholder="Passwort" name="psw" required>

    <button id="LoginButton" type="submit">Login</button>
    <input type="checkbox" checked="checked"> Passwort speichern
  </div>

  <div class="Login-Main">
    <button type="button" class="LoginCancel"  onclick="document.getElementById('loginhide').style.display = 'none' ">Cancel</button>
  </div>
</div>
<!-- ENDE LOGIN / REGISTER-->


<div id="Afirst" type="button" onclick="Afirst()">Start</div>


<div id="A">
  <div id="A_A">Welche Farbe ist <span id="A_A_A" onclick="A_A_A()">Blau</span>?</div>
  <button id="A_B"><yellow>GREEN</yellow></button>
  <button id="A_C"><blue>YELLOW</blue></button>
  <button id="A_D"><green>BLUE</green></button>
</div>


<div id="B">
  <div id="B_A" style="position:absolute;margin-top:100px;margin-left:450px;font-size:80px;font-familiy:chiller">Wieviele Kreise siehst du?</div>
  <div id="B_B" style="font-size: 90px;position:absolute;margin-left:500px;margin-top:550px;border: 2px solid">7</div>
  <div id="B_C" style="font-size: 90px;position:absolute;margin-left:700px;margin-top:550px;border: 2px solid">5</div>
  <div id="B_D" style="font-size: 90px;position:absolute;margin-left:900px;margin-top:550px;border: 2px solid">12</div>
  <div id="B_E" style="font-size: 90px;position:absolute;margin-left:1100px;margin-top:550px;border: 2px solid">8</div>
  <div id="B_F" onclick="B_F()">JOKER</div>
  <div id="B_G" onclick="B_G()" style="font-size: 90px;position:absolute;margin-left:800px;margin-top:400px;border: 2px solid">10</div>
</div>



<div id="C">
    <div id="C_A"><img style="position:absolute;height:200px;width:200px;margin-top:250px;margin-left:400px" src="Bilder/Maus1.jpg"></div>
    <div id="C_B"><img style="position:absolute;height:200px;width:300px;margin-top:250px;margin-left:750px" src="Bilder/Maus2.jpg"></div>
    <div id="C_C"><img style="position:absolute;height:200px;width:200px;margin-top:250px;margin-left:1200px" src="Bilder/Maus3.jpg"></div>
    <div id="C_D"><img style="position:absolute;height:200px;width:200px;margin-top:500px;margin-left:400px" src="Bilder/Maus4.jpg"></div>
    <div id="C_E" onclick="C_E()"><img style="position:absolute;height:200px;width:300px;margin-top:500px;margin-left:750px" src="Bilder/Maus5.jpg"></div>
    <div id="C_F"><img style="position:absolute;height:200px;width:200px;margin-top:500px;margin-left:1200px" src="Bilder/Maus6.jpg"></div>
    <div id="C_G">Was ist eine <span class="C_G">Maus?</span></div>
</div>













  </body>
</html>





/*CSS DOKUMENT*/

#Afirst {
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  border: none;
  position: absolute;
  margin-top: 400px;
  margin-left: 750px;
  color: black;
  font-family: chiller;
  font-size: 80px;
}
#A {
  display: none;
}
#A_A {
  position: absolute;
  margin-top: 100px;
  margin-left: 400px;
  color: black;
  font-size: 70px;
  font-family: chiller;
}
#A_A_A:hover {
  background-color: red;
  color: white;
}
#A_B {
  border: 20px solid blue;
  padding: 40px;
  position: absolute;
  margin-top: 500px;
  margin-left: 250px;
  background-color: blue;
  font-size: 50px;
}
#A_C {
  border: 20px solid green;
  padding: 40px;
  position: absolute;
  margin-top: 500px;
  margin-left: 750px;
  background-color: green;
  font-size: 50px;
}
#A_D {
  border: 20px solid yellow;
  padding: 40px;
  position: absolute;
  margin-top: 500px;
  margin-left: 1250px;
  background-color: yellow;
  font-size: 50px;
}

#B {
  display: none;
}
#B_G {
  display: none;
}

#B_F {
  border: 4px solid #E50000;
  padding: 20px;
  position: absolute;
  margin-top: 100px;
  margin-left: 1650px;
  background-color: #FF3333;
  font-size: 30px;
  font-family: chiller;
}

#C {
  display: none;
}

#C_G {
  font-size: 80px;
  font-family: chiller;
  position: absolute;
  margin-top: 50px;
  margin-left: 700px;
}





























/*Start*/
#welcome {
  position: absolute;
  margin-top: 100px;
  margin-left: 350px;
  font-size: 100px;
  font-family: chiller;
  border-radius: 50px;
}
#musicstop1 {
  position: absolute;
  margin-top: 100px;
  margin-left: 800px;
}
#musicplay1 {
  position: absolute;
  margin-top: 100px;
  margin-left: 850px;
}
#start0 {
  position: absolute;
  margin-left: 900px;
  margin-top: 700px;
  background-color: white;
  color: black;
  border: 2px solid #4CAF50;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
}
#start0:hover {
  background-color: #4CAF50;
  color: white;
}
#start1 {
  position: absolute;
  margin-left: 1400px;
  margin-top: 400px;
  background-color: white;
  color: black;
  border: 2px solid #4CAF50;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
}
#start1:hover {
  background-color: #4CAF50;
  color: white;
}
#start2 {
  position: absolute;
  margin-left: 300;
  margin-top: 400px;
  background-color: white;
  color: black;
  border: 2px solid #4CAF50;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
}
#start2:hover {
  background-color: #4CAF50;
  color: white;
}
#start3 {
  position: absolute;
  margin-left: 200px;
  margin-top: 600px;
  background-color: white;
  color: black;
  border: 2px solid #4CAF50;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
}
#start3:hover {
  background-color: #4CAF50;
  color: white;
}
#start4 {
  position: absolute;
  margin-left: 600px;
  margin-top: 500px;
  background-color: white;
  color: black;
  border: 2px solid #4CAF50;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
}
#start4:hover {
  background-color: #4CAF50;
  color: white;
}
#start5 {
  position: absolute;
  margin-left: 700px;
  margin-top: 300px;
  background-color: white;
  color: black;
  border: 2px solid #4CAF50;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
}
#start5:hover {
  background-color: #4CAF50;
  color: white;
}
#start6 {
  position: absolute;
  margin-left: 1000px;
  margin-top: 450px;
  background-color: white;
  color: black;
  border: 2px solid #4CAF50;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
}
#start6:hover {
  background-color: #4CAF50;
  color: white;
}
#start7 {
  position: absolute;
  margin-left: 964px;
  margin-top: 100px;
  background-color: white;
  color: black;
  border: 2px solid #4CAF50;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
}
#start7:hover {
  background-color: #4CAF50;
  color: white;
}
#start8 {
  position: absolute;
  margin-left: 304px;
  margin-top: 294px;
  background-color: white;
  color: black;
  border: 2px solid #4CAF50;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
}
#start8:hover {
  background-color: #4CAF50;
  color: white;
}
#start9 {
  position: absolute;
  margin-left: 1123px;
  margin-top: 240px;
  background-color: white;
  color: black;
  border: 2px solid #4CAF50;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
}
#start9:hover {
  background-color: #4CAF50;
  color: white;
}
.start {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
  cursor: pointer;
}








*/Javascript Datei*/

function Afirst() {
  document.getElementById("Afirst").style.display ="none";
  document.getElementById("A").style.display ="block";
}
function A_A_A() {
  document.getElementById("A").style.display ="none";
  document.getElementById("B").style.display ="block";
}
function B_F() {
  document.getElementById("B_G").style.display ="block";
}
function B_G() {
  document.getElementById("B").style.display ="none";
  document.getElementById("C").style.display ="block";
}
function C_E() {
  document.getElementById("C").style.display ="none";
  document.getElementById("D").style.display ="block";
}