Skip to content

Create Did #742

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

Open
wants to merge 1 commit into
base: main
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
28 changes: 28 additions & 0 deletions Did
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Свадебное приглашение</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="form-container">
<h2>Создать приглашение</h2>
<input type="text" id="names" placeholder="Имена пары">
<input type="date" id="date">
<input type="text" id="location" placeholder="Место">
<button onclick="generateInvitation()">Создать</button>
</div>

<div id="invitation" class="invitation hidden">
<h1>Приглашение на свадьбу</h1>
<p id="namesDisplay"></p>
<p id="dateDisplay"></p>
<p id="locationDisplay"></p>
</div>

<button id="downloadBtn" class="hidden" onclick="downloadPDF()">Скачать PDF</button>

<script src="script.js"></script>
</body>
</html>