Skip to content
Advertisement

Tag: background

background image not showing in React

Public>images>img-2.jpg src>components>pages>Services.js> src>>App.css> src>App.js> This is how I wrote the code. But the picture not working. Screenshot(Failed to compile) Images are not displayed, how can I display images? Please help me. Answer You shouldn’t keep your images in the public folder. When using css inside the src folder you should use the relative path to the image file and during

Firebase and JavaScript: Update fetched data on website from real time database without reloading website [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question I want to deploy a website to Firebase. The website has to fetch data from the firebase database. If the values from the database has

Advertisement