I am new to React and currently working on a login page that asks for both a username and password. While I haven't implemented much logic yet, I have been exploring online resources to learn more. It appears that I should be able to interact with the text fields by clicking on them or hover over the sign-in button to see some changes.
Currently, I have added CSS for hover effects but I have to manually trigger it using Google DevTools to see any changes. I would greatly appreciate some assistance with this issue. Below is the code snippet:
export default class Login extends React.Component {
render() {
return (
<form>
<SmallHeading name="USERNAME:"/>
<input className="inputField" type="text" placeholder="Enter username"/>
<div className="space"></div>
<SmallHeading name="PASSWORD:"/>
<input className="inputField" type="text" placeholder="Enter password"/>
<div id="buttonWrapper">
<input type="submit" className="btn buttonFont buttonStyle" id="logInButton" value="LOG IN" />
</div>
</form>
);
}
}