Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="PL">
- <head>
- <title>Tabliczka mnożenia</title>
- <link rel="stylesheet" href="a.css"/>
- <meta charset="UTF-8">
- <link href="https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap" rel="stylesheet">
- <style>
- *{box-sizing: border-box;}
- body
- {
- font-family: 'Roboto', sans-serif;
- }
- #this{
- margin-top:100px;
- display:block;
- width:auto;
- height:40px;
- }
- table
- {
- align:center;
- border-collapse: collapse;
- border: 5px solid black;
- }
- td
- {
- border: 1px solid black;
- outline:1px solid blue;
- background:white;
- padding: 15px;
- text-align: center;
- }
- label
- {
- display: block;
- margin-bottom: 5px;
- }
- label span
- {
- display: block;
- text-align:center;
- font-weight:bold;
- font-size: 1rem;
- }
- </style>
- </head>
- <body>
- <header><h1>Tabliczka mnożenia</h1></header>
- <aside>
- </aside>
- <section><article><h3>Tabliczka</h3>
- <?php
- /*
- Napisz funkcje która przyjmuje 2 paramentry.
- Funkcja sprawdza która z liczba jest większa oraz która jest parzysta lub nieparzysta.
- */
- function funk($liczba1,$liczba2){
- if($liczba1>$liczba2){
- return $liczba1."jest wieksza"."<br>";
- }
- else{
- return $liczba2."jest wieksza"."<br";
- }
- if($liczba1%2){
- }
- }
- echo funk(1,5);
- echo funk(10,60);
- ?>
- </article></section>
- <footer><p>© Kacper Pawiński 2019</p></footer>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement