利用jquery中的选择器,让p元素的字体颜色变成红色

要求:至少写三种方法
代码:

<div id="div10">
    <p>我是p标签</p>
<button>1</button><button>2</button><button>3</button>
</div>
$("#div10>button").eq(0).on('click',function(){
            $("#div10>p").css("background","red");
        });
        $("#div10>button").eq(1).on('click',function(){
            $("p").last().addClass('red');
        });
        $("#div10>button").eq(2).on('click',function(){
            $("#div10>button").eq(0).prev().addClass('red');
        });