No, there is no as such dress code for JEE Mains. The only restrictions are for cap, scarf, jewellery, stoles, metallic items, etc.