Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix image close tag & url src test
  • Loading branch information
curilen committed Mar 27, 2019
commit b85814bf3245977155c02076b36054d75f2d9f55
2 changes: 1 addition & 1 deletion exercises/01.4-building-a-layout/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const data = {

```html
<div class="card m-5">
<img class="card-img-top" src="..." alt="Card image cap">
<img class="card-img-top" src="..." alt="Card image cap" />
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the cards content.</p>
Expand Down
2 changes: 1 addition & 1 deletion exercises/01.4-building-a-layout/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test('The component should return return the exact HTML', () => {
<img
alt="Card image cap"
className="card-img-top"
src="/assets/bobdylan.png"
src="https://ucarecdn.com/f8cf81eb-3bab-4bba-9431-668884eab174/-/resize/300x/"
/>
<div
className="card-body"
Expand Down
2 changes: 1 addition & 1 deletion exercises/02.2-a-real-component/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Here is the code for a bootstrap card:

```jsx
<div class="card m-5">
<img class="card-img-top" src="https://ucarecdn.com/f8cf81eb-3bab-4bba-9431-668884eab174/-/resize/300x/" alt="Card image cap">
<img class="card-img-top" src="https://ucarecdn.com/f8cf81eb-3bab-4bba-9431-668884eab174/-/resize/300x/" alt="Card image cap" />
<div class="card-body">
<h5 class="card-title">Bob Dylan</h5>
<p class="card-text">Bob Dylan (born Robert Allen Zimmerman, May 24, 1941) is an American singer/songwriter, author, and artist who has been an influential figure in popular music and culture for more than five decades.</p>
Expand Down
2 changes: 1 addition & 1 deletion exercises/02.2-a-real-component/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ test("The component should return return the exact HTML", () => {
<img
alt="Card image cap"
className="card-img-top"
src="/assets/bobdylan.png"
src="https://ucarecdn.com/f8cf81eb-3bab-4bba-9431-668884eab174/-/resize/300x/"
/>
<div
className="card-body"
Expand Down