-3
Ich frage mich, wie Sie JavaScript, CSS und PHP auf einer Seite organisieren und verwenden können. Ich habe vergebens versucht.CSS und Java in einer PHP-Datei
Es soll ein blauer Hintergrund mit weißer Text sein. Der Text verschwindet in 90 seconds
.
-Code bisher:
<?php
if ($_GET["senator"] || $_GET["microphone"]){
echo "Please remind". $_GET["senator"]. " to make sure their microphone is" .$_GET["microphone"]. "is on. Thank you.";
\t exit();
}
?>
<html>
\t <head>
\t \t <title>Room 130</title>
\t \t
\t \t <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
\t \t <script type="text/javascript">
\t \t \t $(document).ready(function() {
\t \t \t $('#message').delay("90000").fadeOut();
\t \t });
\t \t </script>
\t \t
\t \t <style>
\t \t
\t \t \t #container {
\t \t \t \t display: flex;
\t \t \t \t flex-direction: column;
\t \t \t \t justify-content: center;
\t \t \t \t align-items: center;
\t \t \t \t height: 100%;
\t \t \t }
\t \t
\t \t \t .message {
\t \t \t \t width: 100%;
\t \t \t \t margin: 20px;
\t \t \t \t text-align: center;
\t \t \t }
\t \t \t
\t \t \t body {
\t \t \t \t background-color: #000080;
\t \t \t \t color: white;
\t \t \t \t font-size: 60px;
\t \t \t }
\t \t </style>
\t </head>
<body>
</body>
</html>
Mögliches Duplikat von [Was ist der Unterschied zwischen clientseitiger und serverseitiger Programmierung?] (Http://stackoverflow.com/questions/13840429/what-is-the-difference-with-client-side-and -Server-Side-Programmierung) – ShiraNai7
JavaScript ist nicht Java – ShiraNai7