Advertisement
makispaiktis

Codecademy - 25th Exercise (Piano Keys - HTML)

Feb 29th, 2020 (edited)
509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.90 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en" >
  3.  
  4. <head>
  5.   <meta charset="UTF-8">
  6.   <link rel="stylesheet" href="style.css">
  7. </head>
  8.  
  9. <body>
  10.   <p class='title'>Piano Player</p>
  11.   <p id='demo'>Follow the song below to play  the piano.</p>
  12.   <section class="piano">
  13.     <section id='c-key' class="key">
  14.       <section class='keynote'>C</section>
  15.     </section>
  16.     <section id='c-sharp-key' class="black-key">
  17.       <section class='black-keynote'>C#</section>
  18.     </section>
  19.     <section id='d-key' class="key">
  20.       <section class='keynote'>D</section>
  21.     </section>
  22.     <section id='d-sharp-key' class="black-key">
  23.       <section class='black-keynote'>D#</section>
  24.     </section>
  25.     <section id='e-key' class="key">
  26.       <section class='keynote'>E</section>
  27.     </section>
  28.     <section id='f-key' class="key">
  29.       <section class='keynote'>F</section>
  30.     </section>
  31.     <section id='f-sharp-key' class="black-key">
  32.       <section class='black-keynote'>F#</section>
  33.     </section>
  34.     <section id='g-key' class="key">
  35.       <section class='keynote'>G</section>
  36.     </section>
  37.     <section id='g-sharp-key' class="black-key">
  38.       <section class='black-keynote'>G#</section>
  39.     </section>
  40.     <section id='a-key' class="key">
  41.       <section class='keynote'>A</section>
  42.     </section>
  43.     <section id='a-sharp-key' class="black-key">
  44.       <section class='black-keynote'>A#</section>
  45.     </section>
  46.     <section id='b-key' class="key">
  47.       <section class='keynote'>B</section>
  48.     </section>
  49.     <section id='high-c-key' class="key">
  50.       <div class='keynote'>C</div>
  51.     </section>
  52.   </section>
  53.  
  54.   <section id='lyrics'>
  55.     <section id='column-one'>
  56.       <section id="word-one">HAP-</section>
  57.       <section id="letter-note-one">G</section>
  58.     </section>
  59.     <section id='column-two'>
  60.       <section id="word-two">PY</section>
  61.       <section id="letter-note-two">G</section>
  62.     </section>
  63.     <section id='column-three'>
  64.       <section id="word-three">BIRTH-</section>
  65.       <section id="letter-note-three">A</section>
  66.     </section>
  67.     <section id='column-four'>
  68.       <section id="word-four">DAY</section>
  69.       <section id="letter-note-four">G</section>
  70.     </section>
  71.     <section id='column-five'>
  72.       <section id="word-five">TO</section>
  73.       <section id="letter-note-five">C</section>
  74.     </section>
  75.     <section id='column-six'>
  76.       <section id="word-six">YOU</section>
  77.       <section id="letter-note-six">B</section>
  78.     </section>
  79.     <section id='column-optional' class='column-optional'>
  80.       <section id="word-optional">END</section>
  81.       <section id="letter-note-optional">A</section>
  82.     </section>
  83.  
  84.     <button id="first-next-line">Line 2</button>
  85.     <button id="second-next-line">Line 3</button>
  86.     <button id="third-next-line">Line 4</button>
  87.     <button id="fourth-next-line">Reset</button>
  88.   </section>
  89.  
  90.   <script  src="main.js"></script>
  91.  
  92. </body>
  93. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement