latest changes after koniec lekcji

This commit is contained in:
Sebastian Ranoszek 2025-01-23 13:22:54 +01:00
parent 8f2606bacd
commit 9be1d6a641
7 changed files with 162 additions and 10 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -14,13 +14,20 @@
<a href="index.php"><img src="herb.png" alt="HERB"></a>
</div>
<div class="content">
<h3>
<?php
session_start();
$_SESSION['zadanie']=1;
echo'Pytanie nr. ', $_SESSION['zadanie']++.' z 5';
?>
</h3>
<div class="form-container">
<form action="page2.php">
<h3>UCHWALENIE KONSTYTUCJI 3 MAJA</h3>
<input type="radio" name="pytanie1" id=""><span>1788</span><br>
<input type="radio" name="pytanie1" id=""><span>1791</span><br>
<input type="radio" name="pytanie1" id=""><span>1794</span><br>
<input type="radio" name="pytanie1" id=""><span>1793</span><br>
<input type="radio" name="p1" id=""><span>1788</span><br>
<input type="radio" name="p1" id=""><span>1791</span><br>
<input type="radio" name="p1" id=""><span>1794</span><br>
<input type="radio" name="p1" id=""><span>1793</span><br>
<br>
<input type="submit" value="NASTĘPNE PYTANIE" class="next">
</form>

View File

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Najważniejsze Daty Polski</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="menu-lewy">
<h1>Najważniejsze daty w historii Polski</h1>
</div>
<div class="menu-prawy">
<a href="index.php"><img src="herb.png" alt="HERB"></a>
</div>
<div class="content">
<h3>
<?php
session_start();
echo'Pytanie nr. ', $_SESSION['zadanie']++.' z 5';
?>
</h3>
<div class="form-container">
<form action="page3.php">
<h3>UNIA LUBELSKA</h3>
<input type="radio" name="p2" id=""><span>1648</span><br>
<input type="radio" name="p2" id=""><span>1525</span><br>
<input type="radio" name="p2" id=""><span>1492</span><br>
<input type="radio" name="p2" id=""><span>1589</span><br>
<br>
<input type="submit" value="NASTĘPNE PYTANIE" class="next">
</form>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Najważniejsze Daty Polski</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="menu-lewy">
<h1>Najważniejsze daty w historii Polski</h1>
</div>
<div class="menu-prawy">
<a href="index.php"><img src="herb.png" alt="HERB"></a>
</div>
<div class="content">
<h3>
<?php
session_start();
echo'Pytanie nr. ', $_SESSION['zadanie']++.' z 5';
?>
</h3>
<div class="form-container">
<form action="page4.php">
<h3>ODZYSKANIE NIEPODLEGŁOŚCI PRZEZ POLSKĘ</h3>
<input type="radio" name="p3" id=""><span>1788</span><br>
<input type="radio" name="p3" id=""><span>1791</span><br>
<input type="radio" name="p3" id=""><span>1794</span><br>
<input type="radio" name="p3" id=""><span>1793</span><br>
<br>
<input type="submit" value="NASTĘPNE PYTANIE" class="next">
</form>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Najważniejsze Daty Polski</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="menu-lewy">
<h1>Najważniejsze daty w historii Polski</h1>
</div>
<div class="menu-prawy">
<a href="index.php"><img src="herb.png" alt="HERB"></a>
</div>
<div class="content">
<h3>
<?php
session_start();
echo'Pytanie nr. ', $_SESSION['zadanie']++.' z 5';
?>
</h3>
<div class="form-container">
<form action="page5.php">
<h3>UCHWALENIE KONSTYTUCJI 3 MAJA</h3>
<input type="radio" name="pytanie1" id=""><span>1788</span><br>
<input type="radio" name="pytanie1" id=""><span>1791</span><br>
<input type="radio" name="pytanie1" id=""><span>1794</span><br>
<input type="radio" name="pytanie1" id=""><span>1793</span><br>
<br>
<input type="submit" value="NASTĘPNE PYTANIE" class="next">
</form>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Najważniejsze Daty Polski</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="menu-lewy">
<h1>Najważniejsze daty w historii Polski</h1>
</div>
<div class="menu-prawy">
<a href="index.php"><img src="herb.png" alt="HERB"></a>
</div>
<div class="content">
<h3>
<?php
session_start();
echo'Pytanie nr. ', $_SESSION['zadanie']++.' z 5';
?>
</h3>
<div class="form-container">
<form action="index.php">
<h3>UCHWALENIE KONSTYTUCJI 3 MAJA</h3>
<input type="radio" name="pytanie1" id=""><span>1788</span><br>
<input type="radio" name="pytanie1" id=""><span>1791</span><br>
<input type="radio" name="pytanie1" id=""><span>1794</span><br>
<input type="radio" name="pytanie1" id=""><span>1793</span><br>
<br>
<input type="submit" value="NASTĘPNE PYTANIE" class="next">
</form>
</div>
</div>
</body>
</html>

View File

@ -28,25 +28,26 @@ body {
.content {
clear: both;
width: 500px;
height: 500px;
width: 400px;
height: 400px;
transform: translate(-50%, -50%);
position: absolute;
left: 50%;
top: 50%;
border: 1.5px solid black;
border-radius: 25px;
border-radius: 50px;
background-color: gray;
}
.content form {
text-align: center;
margin-top: 30%;
margin-top: 15%;
color: white;
}
.content h3 {
color: white;
text-align: center;
}
.start {