Skip to content

Commit e954b54

Browse files
committed
add markup
1 parent c1c1d47 commit e954b54

File tree

2 files changed

+51
-3
lines changed

2 files changed

+51
-3
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@
66
### Hexlet tests and linter status:
77

88
[![Actions Status](https://github.com/olgarozmetova/frontend-project-11/actions/workflows/hexlet-check.yml/badge.svg)](https://github.com/olgarozmetova/frontend-project-11/actions)
9+
10+
### View a website:
11+
12+
https://frontend-project-11-pi-seven.vercel.app

index.html

Lines changed: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,57 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="ru">
33
<head>
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Vite App</title>
7+
<title>RSS Reader</title>
88
</head>
99
<body>
10-
<div class="container py-4 px-3 mx-auto">
10+
<main class="flex-grow-1">
11+
<section class="container-fluid bg-dark p-5">
12+
<div class="row">
13+
<div class="col-md-10 col-lg-8 mx-auto text-white">
14+
<h1 class="display-3 mb-0">RSS агрегатор</h1>
15+
<p class="lead">
16+
Начните читать RSS сегодня! Это легко, это красиво.
17+
</p>
18+
<form action="" class="rss-form text-body">
19+
<div class="row">
20+
<div class="col">
21+
<div class="form-floating">
22+
<input
23+
id="url-input"
24+
autofocus
25+
type="text"
26+
required
27+
name="url"
28+
aria-label="url"
29+
class="form-control w-100"
30+
placeholder="ссылка RSS"
31+
autocomplete="off"
32+
/>
33+
<label for="url-input" class="form-label">Ссылка RSS</label>
34+
</div>
35+
</div>
36+
<div class="col-auto">
37+
<button
38+
type="submit"
39+
aria-label="add"
40+
class="h-100 btn btn-lg btn-primary px-sm-5"
41+
>
42+
Добавить
43+
</button>
44+
</div>
45+
</div>
46+
</form>
47+
<p class="mt-2 mb-0 text-secondary">
48+
Пример: https://lorem-rss.hexlet.app/feed
49+
</p>
50+
<p class="feedback m-0 position-absolute small text-danger"></p>
51+
</div>
52+
</div>
53+
</section>
54+
</main>
1155
<script type="module" src="/src/main.js"></script>
1256
</body>
1357
</html>

0 commit comments

Comments
 (0)