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.
Text Alignment
CTA and heading
Report a typo
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> ___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.