I need to automate the action of a button click by some script (Javascript), could you help me?
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body class="glitch-transition">
<main class="cd-main-content">
<div class="center">
<a href="#modal-1" class="cd-btn cd-modal-trigger">BOTÃO</a>
</div>
</main>
<div class="cd-modal" id="modal-1">
<img src="img/imagem.png" />
</div> <!-- .cd-modal -->
<div class="cd-transition-layer" data-frame="25">
<div class="bg-layer"></div>
</div> <!-- .cd-transition-layer -->
<script src="js/modernizr.js"></script> <!-- Modernizr -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script></script><scriptsrc="js/main.js"></script> <!-- Resource jQuery -->
</body>
</html>