You first have to create the variable pics,
then type the values (kitty & doggy) with the correct paths where the images are located.
After, type your if/else statement that includes those properties that now exist.
Step one should validate.
example:
var someImage = {
pic1: './path/to/image',
pic2: './another/path/to/image',
pic3: './some/path/to/image'
};
if (...) {
var pic = <img src={someImage.pic1} />;
} else {
var pic = <img src={someImage.pic2} />;
}
...
I believe there is a bug here because when I submit my code the only variation is in my code and their solution is a space after my condition in my if and the bracket and a line break before else