diff --git a/src/app/components/add-task/add-task.component.html b/src/app/components/add-task/add-task.component.html
index 1179209..0d5d506 100644
--- a/src/app/components/add-task/add-task.component.html
+++ b/src/app/components/add-task/add-task.component.html
@@ -1 +1,56 @@
-
add-task works!
+
diff --git a/src/app/components/add-task/add-task.component.scss b/src/app/components/add-task/add-task.component.scss
index e69de29..99b9b0e 100644
--- a/src/app/components/add-task/add-task.component.scss
+++ b/src/app/components/add-task/add-task.component.scss
@@ -0,0 +1,71 @@
+section {
+ margin: 0;
+ background-color: var(--very-light-gray);
+ padding-bottom: 32px;
+}
+
+.content {
+ display: flex;
+}
+
+input {
+ color: var(--light-gray);
+ font-size: 20px;
+ font-weight: 400;
+ border-radius: 10px;
+ border: 1px solid var(--light-gray);
+ padding: 12px 21px;
+}
+
+textarea {
+ color: var(--light-gray);
+ font-size: 20px;
+ font-weight: 400;
+ border-radius: 10px;
+ border: 1px solid var(--light-gray);
+ padding: 18px 16px;
+ resize: none;
+}
+
+p {
+ font-size: 20px;
+ font-weight: 400;
+ padding-bottom: 6px;
+}
+
+.red-dot {
+ color: var(--light-red);
+}
+
+.error-msg {
+ height: 24px;
+ padding: 6px;
+ p {
+ color: var(--red);
+ font-size: 16px;
+ font-weight: 400;
+ }
+}
+
+/*------------- HEADER -------------*/
+
+.headline {
+ .title {
+ font-size: 61px;
+ font-weight: 700;
+ }
+ margin-bottom: 48px;
+}
+
+/*------------- LEFT SIDE -------------*/
+
+/*------------- MIDDLE -------------*/
+
+.line {
+ width: 1px;
+ height: 520px;
+ background-color: var(--light-gray);
+ margin: 0 48px;
+}
+
+/*------------- RIGHT SIDE -------------*/
diff --git a/src/app/components/add-task/add-task.component.ts b/src/app/components/add-task/add-task.component.ts
index 0fc271f..126ace6 100644
--- a/src/app/components/add-task/add-task.component.ts
+++ b/src/app/components/add-task/add-task.component.ts
@@ -1,12 +1,22 @@
import { Component } from '@angular/core';
+import { FormsModule, NgForm } from '@angular/forms';
@Component({
selector: 'app-add-task',
standalone: true,
- imports: [],
+ imports: [FormsModule],
templateUrl: './add-task.component.html',
- styleUrl: './add-task.component.scss'
+ styleUrl: './add-task.component.scss',
})
export class AddTaskComponent {
+ taskData = {
+ title: '',
+ description: '',
+ };
+ onSubmit(ngForm: NgForm) {
+ if (ngForm.submitted && ngForm.form.valid) {
+ console.log('Send completed');
+ }
+ }
}
diff --git a/src/styles.scss b/src/styles.scss
index dab2f74..e253635 100644
--- a/src/styles.scss
+++ b/src/styles.scss
@@ -20,6 +20,7 @@ body {
--dark-blue: #2b3647;
--very-dark-blue: #091931;
--very-light-gray: #f6f7f8;
+ --light-red: #ff8190;
}
.wrapping-wort {