JSFiddle - React, Tailwind, and code Playground
by icntfan
HTML
<!DOCTYPE html>
<html>
<head>
<style>
span { color:#008; }
span.deneme { color:green; font-weight: bolder; }
</style>
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<div>
<span>Ahmet,</span>
<span>Mehmet,</span>
<span>Burak</span>
</div>
<div>
<span>Ayşe,</span>
<span>Fatma,</span>
<span>Emine</span>
</div>
<script>
$("div span:first-child")
.css("text-decoration", "underline")
.hover(function () {
$(this).addClass("deneme");
}, function () {
$(this).removeClass("deneme");
});
</script>
</body>
</html>