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


#1


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


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 (
      <div>
        <h1>{owl.title}</h1>
      </div>
    );
  }
});


#2

HI this line

var owl = React.createClass({

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


#3

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


#4

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