freeCodeCamp/curriculum/challenges/english/01-responsive-web-design/responsive-web-design-projects/build-a-tribute-page.englis...

56 lines
3.7 KiB
Markdown

---
id: bd7158d8c442eddfaeb5bd18
title: Build a Tribute Page
isRequired: true
challengeType: 3
forumTopicId: 301147
---
## Description
<section id='description'>
<strong>Objective:</strong> Build a <a href='https://codepen.io' target='_blank'>CodePen.io</a> app that is functionally similar to this: <a href='https://codepen.io/freeCodeCamp/full/zNqgVx' target='_blank'>https://codepen.io/freeCodeCamp/full/zNqgVx</a>.
Fulfill the below <a href='https://en.wikipedia.org/wiki/User_story' target='_blank'>user stories</a> and get all of the tests to pass. Give it your own personal style.
You can use HTML, JavaScript, and CSS to complete this project. Plain CSS is recommended because that is what the lessons have covered so far and you should get some practice with plain CSS. You can use Bootstrap or SASS if you choose. Additional technologies (just for example jQuery, React, Angular, or Vue) are not recommended for this project, and using them is at your own risk. Other projects will give you a chance to work with different technology stacks like React. We will accept and try to fix all issue reports that use the suggested technology stack for this project. Happy coding!
<strong>User Story #1:</strong> My tribute page should have an element with a corresponding <code>id="main"</code>, which contains all other elements.
<strong>User Story #2:</strong> I should see an element with a corresponding <code>id="title"</code>, which contains a string (i.e. text) that describes the subject of the tribute page (e.g. "Dr. Norman Borlaug").
<strong>User Story #3:</strong> I should see a <code>div</code> element with a corresponding <code>id="img-div"</code>.
<strong>User Story #4:</strong> Within the <code>img-div</code> element, I should see an <code>img</code> element with a corresponding <code>id="image"</code>.
<strong>User Story #5:</strong> Within the <code>img-div</code> element, I should see an element with a corresponding <code>id="img-caption"</code> that contains textual content describing the image shown in <code>img-div</code>.
<strong>User Story #6:</strong> I should see an element with a corresponding <code>id="tribute-info"</code>, which contains textual content describing the subject of the tribute page.
<strong>User Story #7:</strong> I should see an <code>a</code> element with a corresponding <code>id="tribute-link"</code>, which links to an outside site that contains additional information about the subject of the tribute page. HINT: You must give your element an attribute of <code>target</code> and set it to <code>_blank</code> in order for your link to open in a new tab (i.e. <code>target="_blank"</code>).
<strong>User Story #8:</strong> The <code>img</code> element should responsively resize, relative to the width of its parent element, without exceeding its original size.
<strong>User Story #9:</strong> The <code>img</code> element should be centered within its parent element.
You can build your project by forking <a href='http://codepen.io/freeCodeCamp/pen/MJjpwO' target='_blank'>this CodePen pen</a>. Or you can use this CDN link to run the tests in any environment you like: <code>https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js</code>.
Once you're done, submit the URL to your working project with all its tests passing.
Remember to use the <a href='https://forum.freecodecamp.org/t/how-to-get-help-when-you-are-stuck/19514' target='_blank'>Read-Search-Ask</a> method if you get stuck.
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests: []
```
</section>
## Challenge Seed
<section id='challengeSeed'>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>