Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="PL">
  3. <head>
  4. <title>Tabliczka mnożenia</title>
  5. <link rel="stylesheet" href="a.css"/>
  6. <meta charset="UTF-8">
  7. <link href="https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap" rel="stylesheet">
  8. <style>
  9. *{box-sizing: border-box;}
  10. body
  11. {
  12. font-family: 'Roboto', sans-serif;
  13. }
  14. #this{
  15. margin-top:100px;
  16. display:block;
  17. width:auto;
  18. height:40px;
  19. }
  20.  
  21.  
  22. table
  23. {
  24.  
  25. align:center;
  26. border-collapse: collapse;
  27. border: 5px solid black;
  28. }
  29.  
  30. td
  31. {
  32. border: 1px solid black;
  33. outline:1px solid blue;
  34. background:white;
  35. padding: 15px;
  36. text-align: center;
  37. }
  38.  
  39. label
  40. {
  41. display: block;
  42. margin-bottom: 5px;
  43. }
  44.  
  45. label span
  46. {
  47. display: block;
  48. text-align:center;
  49. font-weight:bold;
  50. font-size: 1rem;
  51. }
  52. </style>
  53. </head>
  54. <body>
  55. <header><h1>Tabliczka mnożenia</h1></header>
  56. <aside>
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. </aside>
  64.  
  65. <section><article><h3>Tabliczka</h3>
  66.  
  67. <?php
  68. /*
  69. Napisz funkcje która przyjmuje 2 paramentry.
  70. Funkcja sprawdza która z liczba jest większa oraz która jest parzysta lub nieparzysta.
  71.  
  72. */
  73. function funk($liczba1,$liczba2){
  74.  
  75. if($liczba1>$liczba2){
  76. return $liczba1."jest wieksza"."<br>";
  77. }
  78. else{
  79. return $liczba2."jest wieksza"."<br";
  80. }
  81. if($liczba1%2){
  82.  
  83. }
  84.  
  85. }
  86. echo funk(1,5);
  87. echo funk(10,60);
  88.  
  89. ?>
  90.  
  91. </article></section>
  92. <footer><p>&copy Kacper Pawiński 2019</p></footer>
  93. </body>
  94.  
  95. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement