Skip to content

Conversation

@clelzey
Copy link
Contributor

@clelzey clelzey commented Apr 26, 2022

Completed HTML and CSS Assessments

<source media="(min-width:1440px)" srcset="https://via.placeholder.com/1600x720">
<source media="(min-width:1024px)" srcset="https://via.placeholder.com/1200x540">
<source media="(min-width:640px)" srcset="https://via.placeholder.com/800x360">
<img src="https://via.placeholder.com/400x180" alt="" style="width:auto">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting the width to auto makes it not expand/contract to fill the space correctly.
Auto: https://www.screencast.com/t/gISf025v
100%: https://www.screencast.com/t/AuLWjh5UGJX

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be fixed now. I am not sure why I used 'auto' except it was probably in one of the videos.

}
data.set('date', 'October 6, 1986');
data.set('time', '21:13 PM');
data.set('Powerful, spirited...');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This item needs a key of 'mood' like the others have. The value string contains a comma, but that doesn't change the key.

console.log(getInformation('date'));
console.log(getInformation('time'));
console.log(getInformation('mood')); // gives the error message

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added the key back into the map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants