How can i use the screen width block for getting user is using tablet or phone

blocks (10)
when i use this blocks it not working.

is there anything different to do this .
please help me

It works.
Your logic is wrong

Hi @AryanGupta,
Check this one.that one uses same logic at yours.But notice the values used.:wink:

Hope it helps:slightly_smiling_face:

If (screen3.width > 501 and screen3.width < 600){

}else if (screen3.width <= 500){

}

the correct sequence of your statements is important in your case (because <600 includes <500)…
first ask for <500 and then for <600…

Unbenannt

Taifun

2 Likes