Skip to content
Merged
Show file tree
Hide file tree
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
21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lint

on:
push:
branches: [main]
pull_request:

jobs:
python:
name: Python (ruff)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v3

html:
name: HTML (htmlhint)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npx htmlhint "**/*.html"
91 changes: 45 additions & 46 deletions html/radiobuttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,52 +12,51 @@
<div>
<form action="https://buttondown.com/api/emails/embed-subscribe/{username}"
method="post">
</div>
<fieldset>
<div class="card">
<h3>
Stay informed
</h3>
<p>
You'll be the first to know when we launch!
</p>
</div>
<div>
<label for="email">
Email:
</label>
<input id="email" name="email" type="email" placeholder="m@example.com"
required />
</div>
<div>
<label for="language">
Language:
</label>
<input type="radio" id="english" name="english" value="english" />
<label for="english">
English
</label>
<input type="radio" id="french" name="french" value="french" />
<label for="french">
French
</label>
<input type="radio" id="spanish" name="spanish" value="spanish" />
<label for="spanish">
Spanish
</label>
<input type="radio" id="portugese" name="portugese" value="portugese"
/>
<label for="portugese">
Portugese
</label>
</div>
<div>
<button type="submit">
Subscribe
</button>
</div>
</fieldset>
</form>
<fieldset>
<div class="card">
<h3>
Stay informed
</h3>
<p>
You'll be the first to know when we launch!
</p>
</div>
<div>
<label for="email">
Email:
</label>
<input id="email" name="email" type="email" placeholder="m@example.com"
required />
</div>
<div>
<label for="language">
Language:
</label>
<input type="radio" id="english" name="english" value="english" />
<label for="english">
English
</label>
<input type="radio" id="french" name="french" value="french" />
<label for="french">
French
</label>
<input type="radio" id="spanish" name="spanish" value="spanish" />
<label for="spanish">
Spanish
</label>
<input type="radio" id="portugese" name="portugese" value="portugese"
/>
<label for="portugese">
Portugese
</label>
</div>
<div>
<button type="submit">
Subscribe
</button>
</div>
</fieldset>
</form>
</div>
</body>
</html>
Loading