Trying to hide a button on a specific WordPress Page ID

so if you want to remove/hide only the button can do this:
1 – if you have a specific class that hide a element
//$class = “youre class”;

 <button class="<?php if(is_page($page_id)){ echo $class } ?>" 
 onclick="window.location.href="https://example.org/about/";">About Me</button>

2 – inline style

 <button  <?php if(is_page($page_id)){ echo "style="display: none"; } ?>" 
 onclick="window.location.href="https://example.org/about/";">About Me</button>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)