Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

76
Views
La etiqueta Img no muestra la imagen en React JSX

Estoy tratando de agregar un logotipo a un componente de encabezado en reacción, pero no se muestra. Es como si fuera transparente porque si justifico elementos con flexión y espacio entre ellos, cuenta como un elemento. No sé qué estoy haciendo mal.

 import React from "react"; import "./Header.css"; const Header = () => { return ( <div className="header"> <img src="../img/logo.png" alt="" /> <h1>ONE</h1> <h1>TWO</h1> </div> ); }; export default Header;
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

import logo from '<PATH>'; return <img src={logo} alt="Logo" />;
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!