scrimba
Code Reviews
Code Review: Shant's Solo Project - Travel Journal
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Code Review: Shant's Solo Project - Travel Journal
AboutCommentsNotes
Code Review: Shant's Solo Project - Travel Journal
Expand for more info
notes.md
run
preview
console
YES!
easy to understand your code
- indentation
- naming conventions
- arrow functions
- flex

Travel.js:
- deconstruct:
const {imageUrl, title, location, googleMapsUrl, startDate, endDate, description} = travel
- target="_blank" href

CSS:
- line-height: 1.6; for travel--description
- hover
a:hover {
color: black;
}
- media query for smaller screens

@media only screen and (max-width: 500px) {
.travel {
flex-direction: column;
}

.travel--img {
width: 90%;
height: 90%;
object-fit: contain;
margin: 20px auto;
}

.flex {
padding: 5px;
padding-top: 0;
}
}
Console
/index.html
-5:19