Language Basics JavaScript DHTML




var thesport="Golf";
if(thesport=="Football")
{
    alert("Yes");
}else{
    alert("No");
}