This is my first time developing in React so it's incredibly messy in there. This project is something I'll be coming back to to clean up as I learn more about this JS Library.
But if you have any advices you could throw at me I would greatly appreciate it!
Hello @tgusterson, your solution look great 👍
About the error, I see you have a wrong path in CSS file. The / at the beginning of your file path indicates it begin at the root directory. Open browser console you will see the error URL.
Here your code:
.error-icon {
content: url("/images/icon-error.svg"); // This is our problem
z-index: 1;
position: absolute;
top: 25%;
right: 70px;
cursor: default;
}
My recommended: url("../images/icon-error.svg")
Also, I see you use two difference img tag for the background image. If the image just for decoration purpose. You should use CSS background.