Twitch stream problem with radio button

Twitch stream problem with radio button
0.0 0


okay in twitch stream
i began with the html code and then
i try to make the user choose between online and offline
with radio buttons so i made form
and to try it i make small test
so the form id is “choose"
and id for btns is All ,Offline,Online
so in script page
i try to make function so if i click any one
print something on the page
and then something strange happen
if i put in the first if
then it will not work and the others work normally
inf if i change the first if to
then All and Online work normally and Off not
and the same for Online
so the first and just first if doesn’t work
so i try to make another
else if with the same id to the first if
and also doesn’t work
here is the link to the page
if nay one can explain why that