2 materials on 1 mesh

is there a easy way to assign two colors to an object.i have tried a few but just can’t get it right.any help please

in the edit buttons, on the left, click the new button

should then say above it 1 mat 2 or 2 mat 2 [from 1 mat 2]

this means, you have two materials, and index 1 [or 2, depends what it said] is selected. in edit mode you can select an index, and press the assign button to assign that material to selected faces

in the materail buttons there also is the 1 mat 2 text, change this to 2 mat 2 and you can change the material for that index [by default it is the same material for the last index when it was created, but I’m not sure]