Skip to content

Instantly share code, notes, and snippets.

@Rnwego
Created July 21, 2021 02:43
Show Gist options
  • Save Rnwego/0c4240968c44af4ec9ae5394de8cde7f to your computer and use it in GitHub Desktop.
Save Rnwego/0c4240968c44af4ec9ae5394de8cde7f to your computer and use it in GitHub Desktop.
Tribute Page
<main id="main">
<h1 id="title" >Music: My Form of Therapy</h1>
<div id="img-div">
<img id="image" alt="colorful music" src="https://www.fairburyjeffs.org/wp-content/uploads/2021/04/Music.jpg">
<p id="img-caption">
Colorful Musical Notes
</p>
</div>
<p id="tribute-info">According to <a href="https://en.wikipedia.org/wiki/Music" id="tribute-link" target="_blank">Wikipedia</a>, music is the art of arranging sounds in time to produce a composition through the elements of melody, harmony, rhythm, and timbre. Music serves different purposes for different people. For me, music is a form of therapy. It took me to some to realize that I not only listened to music for fun, I mean I do sometimes, but most times I listen to music to stay calm, happy, or even pour out my emotions. The versatility of music is beyond amazing. The different genres of music serve different purposes for me. Although I don't really have a favorite artist, my favorite genre of music is alternative (also known as alt). Some of my favorite alt artists are Joji, Billie Eilish, and Lana Del Ray. Here are the links to my favorite albums by these artists:
<a href="https://music.apple.com/us/album/nectar/1506574436?ign-gact=3&ls=1" target="_blank">Nectar </a>by Joji,
<a href="https://music.apple.com/us/album/dont-smile-at-me/1440898929?ign-gact=3&ls=1
" target="_blank">Don't smile at me </a>by Billie Eilish,
<a href="https://music.apple.com/us/album/norman-fucking-rockwell/1474669063?ign-gact=3&ls=1" target="_blank">Norman F*****g Rockwell! </a>by Lana Del Ray.
</p>
</main>
// !! IMPORTANT README:
// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place.
/***********
INSTRUCTIONS:
- Select the project you would
like to complete from the dropdown
menu.
- Click the "RUN TESTS" button to
run the tests against the blank
pen.
- Click the "TESTS" button to see
the individual test cases.
(should all be failing at first)
- Start coding! As you fulfill each
test case, you will see them go
from red to green.
- As you start to build out your
project, when tests are failing,
you should get helpful errors
along the way!
************/
// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!
// Once you have read the above messages, you can delete all comments.
#title {
font-size: 50px;
}
#tribute-info {
text-align: justify;
font-size: 19px;
line-height: 1.5;
padding: 8px;
}
body{
text-align: center;
font-family: serif;
color: white;
background: linear-gradient(45deg,blue,green,red);
}
img {
max-width: 80%;
margin: auto;
display: block;
border-radius: 3%;
}
#img-caption {
font-size: 20px;
}
a {
color: white;
font-style: italic;
}
a:hover {
color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment