Advertisement
raym648

Challenge_02_HTML5

Jan 27th, 2020
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 6.67 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3.  
  4.     <head >
  5.         <title>FindThePrecious.com</title>
  6.         <meta charset="UTF-8">
  7.         <meta name="description" content="Structure of an HTML page">
  8.         <meta name="keywords" content="HTML, CSS">
  9.         <meta name="author" content="Raym648">
  10.         <meta http-equiv="refresh" content="300">
  11.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  12.        
  13.         <link href="https://fonts.googleapis.com/css?family=Amatic+SC" rel="stylesheet">
  14.         <link rel="stylesheet" type="text/css" href="https://pastebin.com/XwJttyaa.css">
  15.        
  16.     </head>
  17.  
  18.     <body>
  19.  
  20.         <header >
  21.             <nav>
  22.                 <ul class="navigation" >
  23.                     <li class="b" >FindThePrecious.com</li>
  24.                 </ul>
  25.             </nav>
  26.      
  27.             <div class="slideshow-container">
  28.                 <div class="centered">
  29.                         <p >Dangerous fellowship try to destroy the ring
  30.                         Orc, Goblings, Balrogs, protect your master Sauron !</p>
  31.                 </div>
  32.                
  33.                 <div class="mySlides fade">
  34.                     <div class="numbertext"></div>
  35.                     <a href = "https://placeholder.com"><img class="a4" src = "https://via.placeholder.com/950x125" width="950" height="125" alt="" ></a>
  36.                     <div class="text"></div>
  37.                 </div>
  38.                
  39.                 <div class="mySlides fade">
  40.                     <div class="numbertext"></div>
  41.                     <a href = "https://placeholder.com"><img class="a4" src = "https://via.placeholder.com/950x125" width="950" height="125" alt="" ></a>
  42.                     <div class="text"></div>
  43.                 </div>
  44.                
  45.                 <div class="mySlides fade">
  46.                     <div class="numbertext"></div>
  47.                     <a href = "https://placeholder.com"><img class="a4" src = "https://via.placeholder.com/950x125" width="950" height="125" alt="" ></a>
  48.                     <div class="text"></div>
  49.                 </div>
  50.             </div>
  51.            
  52.             <div style="text-align:center">
  53.                 <span class="dot"></span>
  54.                 <span class="dot"></span>
  55.                 <span class="dot"></span>
  56.             </div>
  57.        
  58.            
  59.             <script>
  60.                 var slideIndex = 0;
  61.                 showSlides();
  62.                 function showSlides() {
  63.                     var i;
  64.                     var slides = document.getElementsByClassName("mySlides");
  65.                     var dots = document.getElementsByClassName("dot");
  66.                     for (i = 0; i < slides.length; i++) {
  67.                         slides[i].style.display = "none";  
  68.                     }
  69.                     slideIndex++;
  70.                     if (slideIndex > slides.length) {slideIndex = 1}    
  71.                     for (i = 0; i < dots.length; i++) {
  72.                         dots[i].className = dots[i].className.replace(" active", "");
  73.                     }
  74.                     slides[slideIndex-1].style.display = "block";  
  75.                     dots[slideIndex-1].className += " active";
  76.                     setTimeout(showSlides, 2000); // Change image every 2 seconds
  77.                 }
  78.             </script>
  79.         </header>
  80.        
  81.  
  82.         <script>
  83.             function openMenu(evt, menuName) {
  84.                 var i, tabcontent, tablinks;
  85.                 tabcontent = document.getElementsByClassName("tabcontent");
  86.                 for (i = 0; i < tabcontent.length; i++) {
  87.                     tabcontent[i].style.display = "none";
  88.                 }
  89.                 tablinks = document.getElementsByClassName("tablinks");
  90.                 for (i = 0; i < tablinks.length; i++) {
  91.                     tablinks[i].className = tablinks[i].className.replace(" active", "");
  92.                 }
  93.                 document.getElementById(menuName).style.display = "block";
  94.                 evt.currentTarget.className += " active";
  95.             }
  96.         </script>
  97.        
  98.         <p class="a0">* Move the mouse over a button inside the tabbed menu:</p>
  99.        
  100.         <div class="tab">
  101.             <button class="tablinks" onmouseover="openMenu(event, 'Follows')">Follows</button>
  102.             <button class="tablinks" onmouseover="openMenu(event, 'Contact')">Contact US</button>
  103.         </div>
  104.        
  105.         <section id="Follows" class="tabcontent">
  106.             <h2 class="centretitre">Fellows wanted dead (or alive if you want to eat them later)</h2>
  107.            
  108.             <ul class="flex-container1">
  109.            
  110.                 <li class="a">
  111.                     <h3 id="c1" >Reward 1000 gold coins</h3>
  112.                     <a href = "http://images.innoveduc.fr"><img class="a3" src = "http://images.innoveduc.fr/integration_gandalf.png"  width="240" height="240" alt="" ></a>
  113.                     <h3 class="a1">The Wizard</h3>
  114.                     <p class="a2">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
  115.                         et dolore magna aliqua.
  116.                     </p>
  117.                 </li>
  118.                
  119.                 <li class="a">
  120.                     <h3 id="c2" >DEAD</h3>
  121.                     <a href = "https://placeholder.com"><img class="a3" src = "https://via.placeholder.com/240" width="240" height="240" alt="" ></a>
  122.                     <h3 class="a1">Hobbit #3</h3>
  123.                     <p class="a2">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
  124.                         et dolore magna aliqua.
  125.                 </li>
  126.                
  127.                 <li class="a">
  128.                     <h3 id="c3" >Reward 250 gold coins</h3>
  129.                     <a href = "https://placeholder.com"><img class="a3" src = "https://via.placeholder.com/240" width="240" height="240" alt="" ></a>
  130.                     <h3 class="a1">Yummy Dwarf</h3>
  131.                     <p class="a2">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
  132.                         et dolore magna aliqua.
  133.                     </p>
  134.                 </li>
  135.             </ul>
  136.         </section>
  137.        
  138.         <section id="Contact" class="tabcontent" >
  139.        
  140.             <h2 class="centretitre" >Contact US</h2>
  141.             <form action="/contact.php" method="post">
  142.                 <div class="resa9" >
  143.                     <label for="prenom2"><b>First name :</b></label>
  144.                     <input type="text" id="prenom2" name="user_prenom2" placeholder="First name"/>
  145.                 </div>
  146.                
  147.                 <div class="resa9" >
  148.                     <label for="name2"><b>Last name :</b></label>
  149.                     <input type="text" id="name2" name="user_name2" placeholder="Last name"/>
  150.                 </div>
  151.                
  152.                 <div class="resa9" >
  153.                     <label for="telephone2"><b>Phone :</b></label>
  154.                     <input type="tel" id="telephone2" name="user_telephone2" />
  155.                 </div>
  156.                
  157.                 <div class="resa9" >
  158.                     <label for="mail2"><b>E-mail :</b></label>
  159.                     <input type="email" id="mail2" name="user_mail2" placeholder="E-mail"/>
  160.                 </div>
  161.                
  162.                 <div class="resa9" >
  163.                     <label for="selectionItem"><b>Select :</b></label>
  164.                     <select id="selectionItem" name="user_selectionItem" >
  165.                         <option value="0" > I have seen one of them </option>
  166.                         <option value="1"> Lorem ipsum dolor sit amet</option>
  167.                         <option value="2"> Lorem ipsum dolor sit amet</option>
  168.                         <option value="3"> Lorem ipsum dolor sit amet</option>
  169.                         <option value="4"> Lorem ipsum dolor sit amet</option>
  170.                         <option value="5"> Lorem ipsum dolor sit amet</option>
  171.                     </select>
  172.                 </div>
  173.                
  174.                 <div class="textarea" >
  175.                     <label for="msg2"><b>Message :</b></label>
  176.                     <textarea id="msg2" name="user_message2" placeholder="Your Message"></textarea>
  177.                 </div>
  178.                
  179.                 <div class="button" >
  180.                     <button type="submit"><b>Send</b></button>
  181.                     <button type="reset"><b>Cancel</b></button>
  182.                 </div>
  183.             </form>
  184.      
  185.         </section>
  186.        
  187.         <footer>
  188.             <p>Posted by: Raym648
  189.             - Contact information: <a href="mailto:someone@example.com">someone@example.com</a>.
  190.             - [Réalisé le : 25/01/2020]</p>
  191.         </footer>
  192.  
  193.     </body>
  194.    
  195. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement