https://www.codecademy.com/courses/react-101/projects/js-react-animal-fun-facts
hi! i am on step 4 and nothing seems to be rendering for me at all. i have gone through the forums and the video walk-through but i still seem to be missing something somehow? maybe i have been staring at the screen for so long that i just don’t see the error.
this is my code :
import { animals } from ‘./animals’;
import React from ‘react’;
import ReactDOM from ‘react-dom’;
const title = ‘’;
const amimalFacts = (
{title === '' ? 'Click an animal for a fun fact' : title}
ReactDOM.render(animalFacts, document.getElementById(‘root’));