CTA and heading

Report a typo

You're working on a landing page, and you want to ensure that the main heading and the call-to-action (CTA) button text are left aligned and centered respectively. Fill in the gaps to achieve this alignment.

Fill in the gaps with the relevant elements
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Centering CTA</title>
    <style>
        .heading {
            : ;
        }
        .cta-button {
            : ;
        }
    </style>
</head>
<body>
    <h1 class="heading">Join Us Now!</h1>
    <button class="cta-button">Sign Up</button>
</body>
</html>
___

Create a free account to access the full topic