123

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <!-- Afin de valider ton code HTML, clic sur la petite flèche en haut à droite de cette fenêtre. Pour rappel, tu peux jeter un oeil par ici pour en savoir un peu plus: https://blog.codepen.io/2017/10/11/analyze-css-now-using-stylelint/ -->

<head>
  <meta charset="UTF-8">
  <link href="https://fonts.googleapis.com/css?family=Amatic+SC|Open+Sans" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" rel="stylesheet">
  <title>Wild Circus</title>
</head>

<body>
  <header>
    <h1> Wild Circus</h1>
    <nav>
      <ul id="conteneur1">
        <!-- DONE: Les liens du menu doivent nous emmener vers les sections correspondantes dans la page -->
        <li><a href="#perf">Performances</a></li>
        <li><a href="#about">About Us</a></li>
        <li><a href="#prices">Prices</a></li>
        <li><a href="#contact">Contact</a></li>
      </ul>
    </nav>
  </header>

  <section>
    <h2 id="perf">Performances</h2>
    <!-- DONE: En utilisant du css place ces trois performances ("lough", "dream, "marvel at") sur la même ligne en enlevant le point généré par la balise "li". Attention, utilise bien le css pour aligner les éléments, tu ne dois pas enlever les balises "li"-->
    <ul id="conteneur2">
      <!-- performance 1 -->

      <li class="element">
        <img src="http://i1376.photobucket.com/albums/ah16/San_Cahlorp/laugh_zpsqreiz45d.png" alt="laugh" title="Ah ah ah!" />
        <h3>Laugh</h3>
        <p>As an adult, come and discover our irresistible clowns, between practical jokes and pranks let yourself be carried away by their joy and fall back into childhood.</p>
      </li>
      <!-- performance 2 -->

      <li class="element">
        <img src="http://i1376.photobucket.com/albums/ah16/San_Cahlorp/dream-img_zpsfw3l4f12.png" alt="Dream" title="Dream a little dream..." />
        <h3>Dream</h3>
        <p>Let yourself be carried away in a world where the real and the imaginary are one, in the company of our talented magicians, discover a wonderful world limited only by your imagination.</p>
      </li>
      <!-- performance 3 -->

      <li class="element">
        <img src="http://i1376.photobucket.com/albums/ah16/San_Cahlorp/marvel-at_zpso8wfubch.png" alt="marvel at" title="Marvel at" />
        <h3>Marvel at</h3>
        <p>Tame the untameable in the company of our tamers, between roar and razor-sharp claws, watch these fierce felines turn into sweet kittens.</p>
      </li>
    </ul>
  </section>

  <section>
    <h2 id="about">About Us</h2>
    <div class="align-center"> <iframe width="650" height="405" src="https://www.youtube.com/embed/MFAqFOUZIzU"></iframe></div>
    <!-- DONE: Cette section n'a pas encore été réalisée, tu as carte blanche pour nous montrer ta créativité -->
  </section>

  <section>
    <h2 id="prices">Prices</h2>
    <!-- DONE:  Réalise un tableau qui présente les différents prix. Exemple (aggrandis la fenêtre en largeur pour bien voir l'exemple ci-dessous) :

                                | Adultes | Enfants de moins de 12 ans | Groupes (plus de 10 personnes) | Ecoles
        Semaines hors mercredi  |         |                         |                                |
        week-end et mercredi    |         |                         |                                |
      -->
    <table class="contact-text">
      <tr>
        <th><img src="http://i1376.photobucket.com/albums/ah16/San_Cahlorp/ticket-circus_zpsxerqsuuu.png" alt="tickets"></th>
        <th>Children <br>(- 12 y.)</th>
        <th>Adults</th>
        <th>Groups <br>(+ 10 p.)</th>
        <th>Schools</th>
      </tr>
      <tr>
        <td>Week except Wednesday</td>
        <td>15$</td>
        <td>25$</td>
        <td>20$</td>
        <td>12$</td>
      </tr>
      <tr>
        <td>Wednesday & Week-end</td>
        <td>20$</td>
        <td>30$</td>
        <td>25$</td>
        <td>22$</td>
      </tr>
    </table>
  </section>

  <section class="align-center">
    <h2 id="contact">Contact Us</h2>
    <p class="contact-text">
      Feel free to contact us, we'll answer as soon as possible!
    </p>

    <form method="post" action="traitement.php">
      <div class="align-center">
        <fieldset>
          <legend>Contact form</legend>
          <label for="email">Email adress : </label><input type="email" name='email' id="email" placeholder="Your email" size="40">
          <label for="message">Message : </label><textarea name="message" id="message" rows="10" cols="50"></textarea><br/>
          <input type="submit" value="Submit" />

      </div>
      </fieldset>
    </form>
    <!-- DONE: Réalise un formulaire de contact avec les champs email et message plus un bouton pour envoyer le message. Pense bien à ajouter les labels pour les différents champs
        Ce formulaire n'a pas besoin d'être fonctionnel, réalise juste la mise en forme.
      -->
  </section>

  <footer>
    <!-- DONE: Entre ton nom et prénom.
        Mets en place un lien vers le site de la Wild Code School (https://wildcodeschool.fr).
        Tu peux egalement mettre un lien sur ton nom vers ton site, ton blog ou ton profil github ou linkedin, si tu en a un.
       -->
    <p class="footer-text">Wild Circus by Sandy Prolhac - <a href="https://www.freepik.com/free-photos-vectors/poster" target="_blank">Illustrations created by Freepik</a> - <a href="http://www.france-ioi.org/user/perso.php?sLogin=sandyp" target="_blank">France-IOI</a> - <a href="https://www.sololearn.com/Profile/8704050" target="_blank">SoloLearn</a> - <a href="https://wildcodeschool.fr"
        target="_blank">Wild Code School</a> - Septembre 2018</p>
  </footer>
</body>
            
          
!
            
              /* Afin de valider ton code CSS, clic sur la petite flèche en haut à droite de cette fenêtre. Pour rappel, tu peux jeter un oeil par ici pour en savoir un peu plus: https://blog.codepen.io/2017/10/11/analyze-css-now-using-stylelint/ */

/* Ecris ici ton code CSS */
body {
  width: 72%;
  padding: 5px 5px;
  margin: auto;
  font-family: "Open Sans Condensed", sans-serif;
  background:#e8d3a6;
}

header {
  display: flex;
  justify-content: center;
  background-image: url("http://i1376.photobucket.com/albums/ah16/San_Cahlorp/header-fond_zpsmnnjqvne.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  height: 435px;
}

nav {
  margin-top: 370px;
  width: 72%;
  position: absolute;
  background-color: red;
}
a {
  color: white;
  text-decoration: none;
  font-size: 1.3em;
}
a:hover {
  font-weight: bold;
}
h1,
h2,
h3 {
  font-family: "Amatic SC", cursive;
}

h1 {
  font-size: 5em;
  color: red;
  text-align: center;
  margin-top: 148px;
}
h2 {
  background-image: url("http://i1376.photobucket.com/albums/ah16/San_Cahlorp/fond-titre_zpsuyc1r22y.png");
  background-repeat: no-repeat;
  background-position: top center;
  height: 96px;
  font-size: 3em;
  color: yellow;
  margin: 20px;
  padding-top: 6px;
  text-align: center;
}

li {
  list-style: none;
}

.align-center {
  text-align: center;
}

#conteneur1 {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
#conteneur2 {
  display: flex;
 margin: auto;
text-align: center;
}

section {
  border: 2px dashed yellow;
  padding-bottom: 40px;
  margin-bottom: 20px;
  background-color: #fffbf1;
}
.element {
  
  font-size: 1.4em;
  padding: 10px;

}

footer {
  background-image: url("http://i1376.photobucket.com/albums/ah16/San_Cahlorp/fond-footer_zpsz5k8sxip.jpg");
  background-repeat: repeat-x;
  background-position: top center;
  width: 100%;
  height: 223px;
}
.footer-text {
  padding-top: 54px;
  text-align: center;
}
.contact-text
{
  font-size: 1.8em;
}
.contact-text2
{
  font-size: 1.4em;
}

form {

 padding:20px;
 width:550px;
 margin: auto;
  
 }

label {
 margin-top:20px;
 display:block;
}
  
table {
  margin: auto;
  width:80%;
  height: 200px;
  border-collapse: collapse;
}

table, th, td
{
 
   border-bottom: 1px solid gray;
}

th {
    text-align: left;
}
 
th, td{
  padding: 10px;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console