Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laurahewitson/119333b45aefa71b82280d80a7cd1190 to your computer and use it in GitHub Desktop.
Save laurahewitson/119333b45aefa71b82280d80a7cd1190 to your computer and use it in GitHub Desktop.
Fork Me! FCC: Test Suite Template
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Berkshire+Swash&family=Quicksand:wght@500;515&display=swap');
</style>
<div id="main">
<div id="header">
<h1 id="title">The Ladies of Llangollen</h1>
<h2 id="subtitle"> Lady Eleanor Butler and Sarah Ponsonby</h2>
</div>
<div id="img-div">
<img id="image" src="https://daily.jstor.org/wp-content/uploads/2020/04/who_were_the_ladies_of_llangollen_1050x700.jpg" alt="19th century drawing of two blonde, older women. One is in profile. The other is facing the viewer. Both are in black walking suits, white blouses, and top hats. Trees, rocks, mountains, and sky are behind them.">
<div id="img-caption">Sarah Ponsonby (left) and Lady Eleanor Butler, known as the Ladies of Llangollen. Artwork by James Henry Lynch.</div>
</div>
<div id="tribute-info">
<p>Lady Eleanor Butler and Sarah Ponsonby met in 1768 in Kilkenny, Ireland. Eleanor lived at her family seat, Kilkenny Castle, while Sarah lived with relatives in Woodstock, County Kilkenny. They were introduced when Eleanor was hired as Sarah's tutor. The two women very quickly became close.</p>
<p>In order to escape unwanted marriages, Eleanor and Sarah hatched a plan to run away to Wales together. After a number of unsuccessful attemps, the pair made it across the Irish Sea and settled in the village of Llangollen in North Wales. Eventually, they bought a home together named Plas Newydd just outside the village, which they renovated in the Gothic style.</p>
<p> Eleanor and Sarah lived together for over 50 years. Their books and glassware carried both sets of initials, and they jointly signed all their letters. Historical evidence suggests that they maintained a lesbian relationship throughout their life, until Eleanor's death in 1829 at the age of 90. The women are buried together at St Colleen's Church in Llangollen.</p>
<p>Click here to listen to a <a id="tribute-link" target="_blank" href="https://www.iheart.com/podcast/stuff-you-missed-in-history-cl-21124503/episode/the-ladies-of-llangollen-30207745/#:~:text=In%20the%20late%2018th%20century,rather%20famous%20in%20the%20process.">podcast about the Ladies of Llangollen</a> from Stuff You Missed in History Class.</p>
</div>
</div>
// !! 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.
#main {
background-color: hsl(37, 35%, 85%);
display: grid;
grid-template-columns: fr1 fr1 fr1 fr1 fr1;
grid-template-rows: auto;
grid-template-areas:
"title title title title title"
"subtitle subtitle subtitle subtitle subtitle"
". img img img ."
". img-caption img-caption img-caption ."
"info info info info info";
}
#title {
grid-area: title;
justify-items: center;
align-items: center;
font-family: "Berkshire Swash", cursive;
font-size: 500%;
padding: 0.3em;
}
#subtitle {
grid-area: subtitle;
justify-items: center;
align-items: center;
font-family: "Berkshire Swash", cursive;
font-size: 200%;
padding: 1em;
}
#img-div {
text-align: center;
}
img {
grid-area: img;
display: block;
width: 100%;
height: auto;
max-width: 1050px !important;
max-height: auto;
}
#img-caption {
grid-area: img-caption;
font-family: "Quicksand", sans-serif;
font-size: 60%;
}
#tribute-info {
grid-area: info;
font-family: "Quicksand", sans-serif;
padding: 3em;
}
@laurahewitson
Copy link
Author

Screen Shot 2020-06-24 at 10 28 05 pm

Output view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment