I simply nest the h1 in div but it shows that you did not put h1 in div

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

i simply nest the h1 in div but it shows that you did not put h1 in div https://www.codecademy.com/courses/react-101/lessons/react-components-advanced-jsx/exercises/component-variable-attribute?action=lesson_resume&link_content_target=interstitial_lesson

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
Owl’s

should contain {owl.title}. ```

var React = require(‘react’);
var ReactDOM = require(‘react-dom’);

var owl = {
title: “Excellent Owl”,
src: “https://s3.amazonaws.com/codecademy-content/courses/React/react_photo-owl.jpg
};

var owl = React.createClass({
render: function () {
return (


{owl.title}



);
}
});
<do not remove the three backticks above>

HI this line

var owl = React.createClass({

you wrote owl insyead of Owl should be with the uppercase O

1 Like

hey Wizmarco thanks i thought that was the bug its working now:slight_smile:

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