The dress code for visiting holy places:
Women: shoulders and head covered (with scarf), legs must be completely covered, no leggings (otherwise you get a loan dress and or scarf at the Temple Mount).
Men: shoulders covered, long pants.
Shoe advice: shoes with a rubber sole. Flip flops are not recommended.