My code doesnt appear in the browser Animal Fun Facts exercise

im doing the exercise Animal Fun Facts of the react course. I have everything exactly like the help in the video. But my code doesnt seem to work on the browser. can some1 help me?

This is the code right now

import { animals } from ‘./animals’;

import React from ‘react’;

import ReactDom from ‘react-dom’;

const title = “”;

const background = (



alt = ‘ocean’

src= ‘/images/ocean.jpg’



const animalFacts = (

{title == "" ? "Click an animal for a fun fact" : title}



ReactDOM.render(animalFacts, document.getElementById(“root”));

Hey @eduardolled384565270 welcome to the forums

Can we have a link to the project?

And don’t forget do format you code properly ([How to] Format code in posts)