JSFiddle - React, Tailwind, and code Playground
HTML
<p>
<span class="jah">
<span> You win:
<span class="win">
<span class="hinnavoit">0
</span>€
</span>
</span>
</span>
</p>
JavaScript
/*jslint browser: true*/
/*global $, jQuery*/
/*jshint -W065 */
jQuery( document ).ready(function($) {
if (parseInt($(".win").text()) == 0) {
//$(".notification-counter").hide();
$(".hinnavoit").hide();
$(".jah").hide();
}
});