Music Page

HTML
<!DOCTYPE html> <html> <head> <title>Musicpage</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous"> <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script> </head> <body> <div id="sectionhome" class="bg-container"> <div class="Home d-flex flex-column justify-content-center"> <h1 class="Home-heading">Sleep Music</h1> <p class="paragraph">Soothing bedtime music to help you fall into a deep and natural sleep</p> </div> <div class="d-flex flex-column justify-content-center background-img"> <h1 class="img-heading">Night Island</h1> </div> <p class="paragraph-2">Non-stop 8-hour mixes of our most popular sleep audio</p> <button class="button" onclick="display('sectionmusicdetailspage')">Get Started</button> </div> <div id="sectionmusicdetailspage" class="Music-details-page"> <img src="https://d1tgh8fmlzexmh.cloudfront.net/ccbp-static-website/clouds-img.png" class="Music-details-page-image" /> <h1 class="heading-2">Night Island</h1> <p class="paragraph-3">Ease the mind into a restful night's sleep with these deep,amblent tones.</p> <p class="paragraph-4">45 MIN SLEEP MUSIC</p> <h1 class="heading-3">Related</h1> <div class="d-flex flex-row"> <div> <img src="https://d1tgh8fmlzexmh.cloudfront.net/ccbp-static-website/moon-clouds-img.png " class="img-1" /> <h1 class="heading-4">Moon Clouds</h1> <p class="paragraph-5">45 MIN SLEEP MUSIC</p> </div> <div> <img src="https://d1tgh8fmlzexmh.cloudfront.net/ccbp-static-website/sweet-sleep-img.png" class="img-1" /> <h1 class="heading-4">Sweet Sleep</h1> <p class="paragraph-5">60 MIN SLEEP MUSIC</p> </div> </div> <button class="button" onclick="display('sectionhome')">Back</button> </div> <script type="text/javascript" src="https://d1tgh8fmlzexmh.cloudfront.net/ccbp-static-website/js/ccbp-ui-kit.js"></script> </body> </html>
CSS
@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Caveat:wght@400;700&family=Lobster&family=Monoton&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display+SC:ital,wght@0,400;0,700;1,700&family=Playfair+Display:ital,wght@0,400;0,700;1,700&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&family=Source+Sans+Pro:ital,wght@0,400;0,700;1,700&family=Work+Sans:ital,wght@0,400;0,700;1,700&display=swap'); .Home{ background-image:url("https://d1tgh8fmlzexmh.cloudfront.net/ccbp-static-website/moon-stars-bg.png"); height:50vh; background-size:cover; } .bg-container{ background-color:#03174c; background-size:cover; height:185vh; font-family:Bree Serif; color:#ffffff; text-align:center; } .Home-heading{ margin:10px; text-align:center; } .paragraph{ font-size:15px; text-align:center; } .background-img{ background-image:url("https://d1tgh8fmlzexmh.cloudfront.net/ccbp-static-website/moon-bg.png"); height:100vh; background-size:cover; margin:30px; } .img-heading{ text-align:center; color:#ffe7bf; } .paragraph-2{ text-align:center; font-weight:normal; } .button{ color:#ffffff; background-color:#8e97fd; border-radius:38px; width:100px; border-width:0px; height:30px; font-size:15px; margin:30px; } .Music-details-page{ font-family:Bree Serif; background-color:#03174c; background-size:cover; height:130vh; } .Music-details-page-image{ height:40vh; background-size:cover; width:300; } .heading-2{ color:#ffffff; margin:20px; font-size:25px; } .paragraph-3{ color:#98a1bd; margin:20px; } .paragraph-4{ color:#98a1bd; margin:20px; } .heading-3{ color:#ffffff; margin:20px; font-size:17px; } .img-1{ height:20vh; margin-left:20px; } .heading-4{ color:#ffffff; margin:5px; font-size:15px; margin-left:20px; } .paragraph-5{ color:#98a1bd; margin:10px; margin-left:20px; } .button{ color:#ffffff; background-color:#8e97fd; border-radius:38px; width:100px; border-width:0px; height:30px; font-size:15px; margin:30px; }
JAVASCRIPT
Expand for more options Login