Advertisement
Patrikrizek

lesson-10-banner

Jun 15th, 2022
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.32 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="utf-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1">
  6.     <title>Banner</title>
  7.     <meta name="author" content="Patrik Krizek">
  8.     <meta name="description" content="Classroom-based IT training">
  9.  
  10.     <!-- CSS -->
  11.     <link href="css/stylesheet.css" rel="stylesheet">
  12. </head>
  13. <body>
  14.     <div id="wrapper">
  15.  
  16.         <!-- Banner -->
  17.         <div id="banner" onclick="myFunction()">
  18.             <script>
  19.             function myFunction() {
  20.                 alert("Congratulation, you singned up for Coding Course!");
  21.             }
  22.             </script>
  23.  
  24.             <div id="logo">
  25.                 <img src="https://www.freepnglogos.com/uploads/elephant-png/african-elephant-transparent-background-18.png" alt="logo">
  26.             </div>
  27.  
  28.             <div id="content">
  29.                 <h1>Maiona Coding Course</h1>
  30.                 <p>Coding is a creative process and we believe anyone can learn to code.</p>
  31.                 <button>Sign up now!</button>
  32.             </div>
  33.         </div>
  34.  
  35.         <div id="extract-this">
  36.             <p>Make your page from previews HW nicer. Add banner with picture. Style text and background. Advance HW, use gradient background for banner and website.</p>
  37.         </div>
  38.     </div>
  39. </body>
  40. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement