# If/else

**URL:** <https://forum.kirupa.com/t/if-else/128832>\
**Category:** Uncategorized\
**Created:** [November 16, 2004, 5:50pm UTC](https://forum.kirupa.com/t/if-else/128832 "2004-11-16T17:50:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramo\_integ](https://avatars.discourse-cdn.com/v4/letter/r/b782af/32.png) [@ramo\_integ](https://forum.kirupa.com/u/ramo_integ)\
**Post date:** [November 16, 2004, 5:50pm UTC](https://forum.kirupa.com/t/if-else/128832/1 "2004-11-16T17:50:31Z")

</div>

if (password == “kirupa”) {  
inputStatus = “Access granted!” ;  
} else {  
inputStatus = “Access denied!” ;  
}

The second line of

using kirupas code…how would i add more names in the password field??? for ex. if someone puts in kirupa (lowercase) or KIRUPA (caps) how would i make it possible for the code to accept both methods???
