Wordpress Challange

I want to hide particular category blogs from the front page. My all category blog post showing on the front page.

Challenge:
Won’t use any plugin.

$cat_id = 10; //10 is id of category

if (!is_category($cat_id)){
//do staff
}
div.particular-category{
display: none;
}

Have you tried this?