Simple wordpress PHP question...

I'm a not a programmer, I just copy and hack code... I'm a designer forced to code, so with that being said How would I get the following work properly. I'm trying to get say, if this is front page, HIDE the indicated div ID

if ( is_front_page() ) {
<style type="text/css">
#foundation { display: none;}
</style> } else {


Thanks in advance!