Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Talking Duck 1 #2

Open
wants to merge 1 commit into
base: 02-talking-duck-01
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions 02-talking-duck/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<!-- Webmanifest -->
<link rel="manifest" href="site.webmanifest" />

<!-- Icona -->
<link rel="icon" href="images/icon.png" />

<!-- Font -->
<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=Roboto:wght@400;700&display=swap" rel="stylesheet" />

<!-- Style -->
<link rel="stylesheet" href="style.css" />

<!-- JavaScript -->
<script defer src="script.js"></script>

<title>Talking Duck</title>
</head>
<body>
<div>
<!-- Header -->
<header>
<img src="images/logo.png" alt="Logo Coding Week" />
</header>

<!-- Main element -->
<main>
<!-- Text input -->
<textarea placeholder="Write something..."></textarea>

<!-- Controls -->
<div>
<button>
<img src="images/play.png" alt="Play Button" />
</button>

<!-- Audio controls -->
<div>
<label>Pitch</label>
<input type="range" />
</div>
</div>

<!-- Duck -->
<figure>
<img src="images/talking-duck-static.png" alt="Static Duck" />
<img src="images/talking-duck-animated.gif" alt="Animated Duck" />
</figure>
</main>

</div>
</body>
</html>