COMPONENTS AND ADVANCED JSX - Use Multiline JSX in a Component

Why My code doesn’t render? :

import React from 'react';
import ReactDOM from 'react-dom';

class QuoteMaker extends React.Components {
  render() {
    return (
              What is important now is to recover our senses.
           <a target="_blank" 
                Susan Sontag

  <QuoteMaker />,

Exercise link:

Does that line look right to you?

Hint: It’s not, because you’ve made a very subtle typo…

1 Like