rmcg.dev/projects/FrontendMentor/newbie/intro-component-with-signup.../index.html

59 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
<script src="./js/script.js" defer></script>
<link rel="stylesheet" href="./css/style.css">
<title>Frontend Mentor | Intro component with sign up form</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<!-- <style>
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
</style> -->
</head>
<body>
<header>
<h1>
Learn to code by watching others
</h1>
<p>
See how experienced developers solve problems in real-time. Watching scripted tutorials is great,
but understanding how developers think is invaluable.
</p>
</header>
<main>
<h2><span>Try it free 7 days</span> then $20/mo. thereafter</h2>
<form action="submit" onsubmit="return verifyData(this.form)">
<input type=" text" name="firstName" id="firstName" placeholder="First Name">
<input type="text" name="lastName" id="lastName" placeholder="Last Name">
<input type="email" name="email" id="email" placeholder="Email Address">
<input type="password" name="password" id="password" placeholder="Password">
<button onClick="verifyData(this.form)">Claim your free trial</button>
<p>
By clicking the button, you are agreeing to our <a href="#" rel="">Terms and Services</a>
</p>
</form>
</main>
<!-- <footer>
<p class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Your Name Here</a>.
</p>
</footer> -->
</body>
</html>