This is a Component of my App, it has a image that has not got output, i think the src is right, my files tree is:
- App:
- src: 3.1 images 3.2 bull.jpg 3.2 utils 3.3 Carta.js
this code is from Carta.js that have got the Image:
import React, {Component} from 'react';
import './Carta.css'
import FlipCard from 'react-flipcard';
export default class Carta extends Component{
render(){
return(
<div className="carta" onClick={this.props.seleccionarCarta}>
<FlipCard
flipped={this.props.estaSiendoComparada || this.props.fueAdivinada}
disabled={true}
>
<div className="portada"></div>
<div className="contenido">
<ul>
<li><img src={"images/toro.jpg"} alt={''} /></li>
</ul>
</div>
</FlipCard>
</div>
)
}
}