Skip to content

Instantly share code, notes, and snippets.

@Babadinho
Created January 18, 2020 20:34
Show Gist options
  • Save Babadinho/7c4bc5d2ad811d594ac726a71bb2d06b to your computer and use it in GitHub Desktop.
Save Babadinho/7c4bc5d2ad811d594ac726a71bb2d06b 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>
<center>
<main id="main">
<h1 id="title">Barr. Donald Iloekwe</h1>
<p>The Tech Lawyer</p>
<figure id="img-div">
<img id="image" src="https://sqsoftsolutions.com/wp-content/uploads/2019/08/0-1.jpeg" alt="Barr. Donald Iloekwe in his office at Nigerian Ports Authority.">
<figcaption id="img-caption">
Barr. Donald Iloekwe was an intern at the Nigerian ports Authority. His primary dury was to draft contracts and legal agreements.
</figcaption>
</figure>
<section id="tribute-info">
<h3 id="headline">Here's a rundown of my duties and responsibilities during my time in NPA:</h3>
<ul>
<li>
<strong>Mornings</strong>
- Attended court sittings
</li>
<li>
<strong>Afternoons</strong>
- Lunch, drafted contracts
</li>
<li>
<strong>Evenings</strong>
- Drafted more contracts
</li>
</ul>
<h3>
If you have time, you should read more about me on my <a id="tribute-link" href="https://en.wikipedia.org/wiki/" target="_blank">Wikipedia page</a>.
</h3>
</section>
</main>
</center>
// !! 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 {
margin: 30px 8px;
padding: 15px;
border-radius: 5px;
background: #eee;
}
img {
max-width: 100%;
display: block;
height: auto;
margin: 0 auto;
}
#img-div {
background: white;
padding: 10px;
margin: 0;
}
#tribute-info {
background: grey;
padding: 10px;
margin: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment