Responsive Web Design Projects - Build a Tribute Page
User Story
-
tribute page should have an element with a corresponding id="main", which contains all other elements.
-
I should see an element with a corresponding id="title", which contains a string (i.e. text) that describes the subject of the tribute page (e.g. "Dr. Norman Borlaug").
-
I should see a div element with a corresponding id="img-div".
-
Within the img-div element, I should see an img element with a corresponding id="image".
-
Within the img-div element, I should see an element with a corresponding id="img-caption" that contains textual content describing the image shown in img-div.
6.I should see an element with a corresponding id="tribute-info", which contains textual content describing the subject of the tribute page.
-
I should see an a element with a corresponding id="tribute-link", 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 target and set it to _blank in order for your link to open in a new tab (i.e. target="_blank").
-
The img element should responsively resize, relative to the width of its parent element, without exceeding its original size.
-
The img element should be centered within its parent element. You can build your project by forking this CodePen pen. Or you can use this CDN link to run the tests in any environment you like:
https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js.