Question: Objective: Build a CodePen.io app that is functionally similar to this: https://codepen.io/freeCodeCamp/full/zNqgVx. Fulfill the below user stories and get all of the tests to pass.
- Objective: Build a CodePen.io app that is functionally similar to this: https://codepen.io/freeCodeCamp/full/zNqgVx.
- Fulfill the below user stories 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!
- User Story #1: My tribute page should have an element with a corresponding id="main", which contains all other elements.
- User Story #2: 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").
- User Story #3: I should see a divelement with a corresponding id="img-div".
- User Story #4: Within the img-divelement, I should see an imgelement with a corresponding id="image".
- User Story #5: Within the img-divelement, I should see an element with a corresponding id="img-caption"that contains textual content describing the image shown in img-div.
- User Story #6: I should see an element with a corresponding id="tribute-info", which contains textual content describing the subject of the tribute page.
- User Story #7: I should see an aelement 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 targetand set it to _blankin order for your link to open in a new tab (i.e. target="_blank").
- User Story #8: The imgelement should responsively resize, relative to the width of its parent element, without exceeding its original size.
- User Story #9: The imgelement 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.
- Once you're done, submit the URL to your working project with all its tests passing.
- Remember to use the Read-Search-Ask method if you get stuck.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
