scrimba
The Weekly Web Dev Challenge
The Weekly Web Dev Challenge: How Many Days Old? ๐Ÿ“†
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

The Weekly Web Dev Challenge: How Many Days Old? ๐Ÿ“†
AboutCommentsNotes
The Weekly Web Dev Challenge: How Many Days Old? ๐Ÿ“†
Expand for more info
index.html
run
preview
console
<html>
<head>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Signika&display=swap" rel="stylesheet">
<link rel="stylesheet" href="index.css">
</head>
<body>
<div class="container">
<h1>How many days old are you?</h1>
<label for="dob">DOB:</label>
<input id="dob" type="date" required>
<button>Go</button>
</div>
<script src="index.js"></script>
</body>
</html>

<!-- photo by Gif Frame on Unsplash -->
Console
/index.html
-1:25