JSFiddle - React, Tailwind, and code Playground

by OsamaMohamed

HTML

<input type="button" onclick="text()" value="قم بالتقييم"><br><br>
<span id="span" ></span>

JavaScript

function text(){
document.getElementById("span").innerText = "شكرا لتقييمك";
}