Hi I Have an img with the title attribute that I would like to customize in react.js however I am new to it. I have done an example in HTML & CSS which is possible. The below is the equivalent HTML & CSS version. Please Help me to convert it in React.js
<!DOCTYPE html>
<html>
<body>
<style>
span:hover {
position: relative;
}
span[title]:hover:after {
content: attr(title);
padding: 40px 8px;
position: absolute;
left: 0;
top: 100%;
z-index: 1;
background:red;
}
</style>
<span title="HEllo WORLD THIS IS RED!">
<img src="smiley.gif" alt="Smiley face HEY HEY HEY" width="42" height="42" >
</span>
</body>
</html>