From ab09ad1d520b0d70976b17eb86203748780ea7d9 Mon Sep 17 00:00:00 2001 From: Tutur33 Date: Fri, 1 Dec 2023 20:00:06 +0100 Subject: [PATCH] update sphere project --- Activity_PHP/the_sphere/lasphere.php | 54 +++++++++++++++++---------- Activity_PHP/the_sphere/lasphere2.php | 28 -------------- Activity_PHP/the_sphere/style.css | 40 ++++++++++++++++++++ 3 files changed, 74 insertions(+), 48 deletions(-) delete mode 100644 Activity_PHP/the_sphere/lasphere2.php create mode 100644 Activity_PHP/the_sphere/style.css diff --git a/Activity_PHP/the_sphere/lasphere.php b/Activity_PHP/the_sphere/lasphere.php index d099ab2..7073e1b 100644 --- a/Activity_PHP/the_sphere/lasphere.php +++ b/Activity_PHP/the_sphere/lasphere.php @@ -1,27 +1,41 @@ - - - + + - La sphere + + + The sphere + - -

Calcul de l'aire de la surface ou du volume d'une sphere

-
- - - + +

Calculating the area, surface or volume of a sphere

+ -
-

- Aire - Volume -
- Rayon en m: - + + + -

+ + + + + + +
+
+ +
\ No newline at end of file diff --git a/Activity_PHP/the_sphere/lasphere2.php b/Activity_PHP/the_sphere/lasphere2.php deleted file mode 100644 index 076c7f1..0000000 --- a/Activity_PHP/the_sphere/lasphere2.php +++ /dev/null @@ -1,28 +0,0 @@ - - - - - La sphere - - -

Aire ou volume d'une sphere, le resultat:

-

- - - -

- - \ No newline at end of file diff --git a/Activity_PHP/the_sphere/style.css b/Activity_PHP/the_sphere/style.css new file mode 100644 index 0000000..d8dd1cf --- /dev/null +++ b/Activity_PHP/the_sphere/style.css @@ -0,0 +1,40 @@ +body { + font-family: Arial, sans-serif; + margin: 0; + padding: 0; + text-align: center; +} + +h1 { + margin-top: 20px; +} + +form { + margin-top: 20px; +} + +input[type="radio"], +input[type="number"], +button { + margin: 5px; + padding: 5px; + border-radius: 5px; + border: 1px solid #ccc; +} + +button { + cursor: pointer; +} + +div { + margin-top: 20px; + font-weight: bold; +} + +img { + width: 300px; + height: auto; + display: block; + margin: 20px auto; + border-radius: 10px; +}