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

235
Views
Importing local images in React js file

I searched up on how to do relative paths and absolute paths etc. but I just cannot seem to import the local images correctly. My ultimate goal is to create a react slide show with these images. What is wrong with this right now? Why is it trying to find the images in "components" when I told them to look in "media"? enter image description here

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

You have a typo in import. The image is called wecome_back_image1.jpg, but you are importing it as welcome_back_image1.jpg.
You are missing the character l.
Please, try to avoid of asking questions with screenshots. Add the code instead.
It will help other developers to understand and help you easier.

about 4 years ago · Juan Pablo Isaza Report

0

There is a spelling mistake in the file. In the slideshow.js file, the name is "welcome" but the actual file says "wecome". You are missing an "l"

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!