tp3
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,15 @@
|
||||
<div class="grid">
|
||||
<article>
|
||||
<header>Player</header>
|
||||
<section class="center">
|
||||
<img src="./images/<?php echo $imagePlayer;?>">
|
||||
</section>
|
||||
</article>
|
||||
<article>
|
||||
<header>Computer</header>
|
||||
<section class="center">
|
||||
<img src="./images/<?php echo $imageComputer;?>">
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" >
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css"
|
||||
/>
|
||||
|
||||
<link rel="stylesheet" href="./css/style.css">
|
||||
<title>Chifoumi</title>
|
||||
</head>
|
||||
<body>
|
||||
<main class="container">
|
||||
|
||||
<h3>Rock Paper Scissors</h3>
|
||||
|
||||
<section class="center">
|
||||
<p>Choose : </p>
|
||||
<a href="?choice=0"><img width="100px" src="./images/rock.png"></a>
|
||||
<a href="?choice=1"><img width="100px" src="./images/paper.png"></a>
|
||||
<a href="?choice=2"><img width="100px" src="./images/scissors.png"></a>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
<h2 class="center">
|
||||
<span class="<?php echo $class;?>"><?php echo $message;?></span>
|
||||
</h2>
|
||||
Reference in New Issue
Block a user