8/16 I'm unclear of what I'm doing wrong. please help


var React = require('react');
var ReactDOM = require('react-dom');

function makeDoggy (e) {
// Call this extremely useful function on an .
// The will become a picture of a doggy.
e.target.setAttribute('src', 'https://s3.amazonaws.com/codecademy-content/courses/React/react_photo-puppy.jpeg');
e.target.setAttribute('alt', 'doggy');

var kitty = (

alt="kitty" />


ReactDOM.render(, document.getElementById('app')

Replace this line with your code.


You should have those pictures in your ./images folder.



Without code sample formatting we cannot tell what else is a possible issue since the HTML component is unreadable.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.