A Pen by Sean Lawless on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="root"></div> | |
| <br /> | |
| <hr /> | |
| <p>In the JS section of this Codepen is a React class component called App that is rendered to the view. For the following challenges, you will only need to edit code in the JS section, not the HTML or CSS.</p> | |
| <ul> | |
| <li><strong>Challenge 1:</strong> Add a fourth country to the list stored in App's state. </li> | |
| <li><strong>Challenge 2:</strong> Cause the continent to show up next to each country name in the view, as in: "Laos - Asia"</li> |
A Pen by Sean Lawless on CodePen.
A Pen by Sean Lawless on CodePen.
A Pen by Sean Lawless on CodePen.
A Pen by Sean Lawless on CodePen.
A Pen by Sean Lawless on CodePen.
A Pen by Sean Lawless on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="root"></div> |
A Pen by Sean Lawless on CodePen.