JSFiddle - React, Tailwind, and code Playground

HTML

Branch Features:</br>      
Micro Centre:<input type='checkbox' value='micro' name='features[]'>High Value Branch:<input type='checkbox' value='highval' name='features[]'>
        CBS Enabled:<input type='checkbox' value='cbs' name='features[]'>
                Trade Finance Branch:<input type='checkbox' value='tradef' name='features[]'>                 
        Personnel Banking Branch:<input type='checkbox' value='personnel' name='features[]'> 
                 High Security Branch:<input type='checkbox' value='hsbranch' name='features[]'>

<input type='button' value='test' onclick='submit();' />

JavaScript

function submit() {
 var checks = document.getElementsByName('features[]');
 var valid = false;   
 for (var check in checks)
        if (checks[check].checked) valid  = true;
 if (valid) 
     alert('submit');
 else
     alert('invalid')
}