• Что бы вступить в ряды "Принятый кодер" Вам нужно:
    Написать 10 полезных сообщений или тем и Получить 10 симпатий.
    Для того кто не хочет терять время,может пожертвовать средства для поддержки сервеса, и вступить в ряды VIP на месяц, дополнительная информация в лс.

  • Пользаватели которые будут спамить, уходят в бан без предупреждения. Спам сообщения определяется администрацией и модератором.

  • Гость, Что бы Вы хотели увидеть на нашем Форуме? Изложить свои идеи и пожелания по улучшению форума Вы можете поделиться с нами здесь. ----> Перейдите сюда
  • Все пользователи не прошедшие проверку электронной почты будут заблокированы. Все вопросы с разблокировкой обращайтесь по адресу электронной почте : info@guardianelinks.com . Не пришло сообщение о проверке или о сбросе также сообщите нам.

? Creating a Simple Sign-Up Page and Pushing It to GitLab

Lomanu4 Оффлайн

Lomanu4

Команда форума
Администратор
Регистрация
1 Мар 2015
Сообщения
1,481
Баллы
155
✨ Introduction


Today, I worked on a simple but essential feature for many websites: a Sign-Up page. Using basic HTML and CSS, I designed a responsive form and then pushed the code to GitLab for version control and sharing.

In this blog post, I’ll walk you through my process — from building the form to using GitLab for version control.

?️ Step 1: Building the Sign-Up Page with HTML & CSS


I started by creating a basic structure with HTML. The form includes fields for name, email, password, and a sign-up button. Here's a sample of the code I used:

? index.html


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sign Up</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="signup-container">
<h2>Create an Account</h2>
<form>
<input type="text" placeholder="Full Name" required />
<input type="email" placeholder="Email Address" required />
<input type="password" placeholder="Password" required />
<button type="submit">Sign Up</button>
</form>
</div>
</body>
</html>
? style.css


body {
font-family: Arial, sans-serif;
background: #f2f2f2;
display: flex;
height: 100vh;
justify-content: center;
align-items: center;
margin: 0;
}

.signup-container {
background: #fff;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
width: 300px;
}

.signup-container h2 {
margin-bottom: 1rem;
}

.signup-container input {
width: 100%;
padding: 0.5rem;
margin: 0.5rem 0;
border: 1px solid #ccc;
border-radius: 4px;
}

.signup-container button {
width: 100%;
padding: 0.7rem;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
?‍? Step 2: Pushing Code to GitLab


After finishing the design, I initialized a Git repository and pushed the project to GitLab.

? Commands I used:


git init
git add .
git commit -m "Initial commit - Sign Up page"
git remote add origin

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.


git push -u origin master


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

 
Вверх Снизу