From 5cdbcd16ccf2bca3f01a1532b576eef3242df857 Mon Sep 17 00:00:00 2001 From: Dina Haia Kozia Date: Mon, 17 Nov 2025 21:23:12 +0200 Subject: [PATCH] =?UTF-8?q?=D7=A9=D7=99=D7=A0=D7=95=D7=99=D7=99=D7=9D=20?= =?UTF-8?q?=D7=91-index.html=20=D7=95=D7=94=D7=95=D7=A1=D7=A4=D7=AA=20inde?= =?UTF-8?q?x.css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../html-css-practice | 1 + .../index.css | 182 ++++++++++++++++++ .../index.html | 80 ++++++-- 3 files changed, 245 insertions(+), 18 deletions(-) create mode 160000 newsletter-sign-up-with-success-message-main/html-css-practice create mode 100644 newsletter-sign-up-with-success-message-main/index.css diff --git a/newsletter-sign-up-with-success-message-main/html-css-practice b/newsletter-sign-up-with-success-message-main/html-css-practice new file mode 160000 index 0000000..667bafd --- /dev/null +++ b/newsletter-sign-up-with-success-message-main/html-css-practice @@ -0,0 +1 @@ +Subproject commit 667bafda8f6850976183800e274599670b4cae18 diff --git a/newsletter-sign-up-with-success-message-main/index.css b/newsletter-sign-up-with-success-message-main/index.css new file mode 100644 index 0000000..a830832 --- /dev/null +++ b/newsletter-sign-up-with-success-message-main/index.css @@ -0,0 +1,182 @@ +body{ + background-color: hsl(235, 18%, 26%); + min-height: 100vh; + display: flex; + justify-content: center; + align-items: center; +} + +.attribution { font-size: 11px; text-align: center; } +.attribution a { color: hsl(228, 45%, 44%); } + +.box{ + position: absolute; + width: 900px; + height: 640px; + background-color: white; + border-radius: 20px; + box-shadow:0 5px 20px rgba(0, 0, 0, 0.5); +} + +.title{ + font-family: "Roboto", sans-serif; + color: hsl(234, 29%, 20%); + padding-left: 60px; + font-size: 50px; + font-weight: 700; + padding-top: 60px; +} + +.p1{ + font-family: "Roboto", sans-serif; + font-size: 16px; + color: rgb(75, 75, 75); + padding-left: 60px; + font-weight: 400; + line-height: 1.5rem; +} + +.icon{ + width: 20px; + height: 20px; + padding-right: 15px; +} + +.list{ + display: flex; + align-items: center; + font-weight: 400; + font-family: "Roboto", sans-serif; + font-size: 16px; + color: rgb(75, 75, 75); + margin-bottom: 10px; + padding-left: 60px; +} + +h3{ + font-family: "Roboto", sans-serif; + color: hsl(234, 29%, 20%); + padding-left: 60px; + font-size: 14px; + font-weight: 700; + padding-top: 40px; +} + +.input-email{ + margin-left: 60px; + width: 335px; + height: 50px; + border-radius: 10px; + border-color: hsl(0, 0%, 70%); + color: hsl(0, 0%,70%); + border-style: solid; + font-family: "Roboto", sans-serif; + font-weight: 400; + padding-left: 20px; + font-size: 14px; +} + +.input-email:hover{ + border-color: black; +} + + +.submit-btn{ + width: 360px; + height: 55px; + background-color: hsl(234, 29%, 20%); + border-radius: 10px; + border-color: hsl(234, 29%, 20%); + border-style: solid; + color: white; + font-family: "Roboto", sans-serif; + font-weight: 700; + font-size: 15px; +} + +.submit-btn:hover{ + background: linear-gradient(to left, rgb(255, 115, 0), rgb(255, 70, 101)); + border-style: hidden; + box-shadow: 0 10px 40px rgba(255, 70, 117, 0.5), + 0 10px 40px rgb(255, 193, 157); +} + +.box-btn{ + padding-left: 60px; + padding-top: 20px; +} + +.img-box{ + display: flex; + justify-content: flex-end; + align-items: center; + align-self: center; + padding-top: 70px; + padding-right: 15px; +} + +.ill-sgn-dsk{ + position: absolute; + align-self: flex-end; +} + +#success-box{ + display: none; + position: absolute; + width: 480px; + height: 500px; + background-color: white; + border-radius: 20px; + box-shadow:0 5px 20px rgba(0, 0, 0, 0.5); +} + +.success-img{ + padding-left: 60px; + padding-top: 40px; +} + +.success-title{ + font-family: "Roboto", sans-serif; + color: hsl(234, 29%, 20%); + padding-left: 60px; + font-size: 50px; + font-weight: 700; +} + +.success-p{ + font-family: "Roboto", sans-serif; + font-size: 16px; + color: hsl(234, 29%, 20%); + padding-left: 60px; + font-weight: 400; + line-height: 1.5rem; +} + +.success-btn{ + display: flex; + padding-top: 20px; + justify-content: center; +} + +.error-email{ + display: none; + color: hsl(4, 100%, 67%); + font-family: "Roboto", sans-serif; + font-weight: 400; + font-size: 14px; + padding-top: 55px; +} + +.email-titles{ + display: flex; + flex-direction: column; + width: 420px; +} + +.titles-style{ + display: flex; + justify-content: space-between; + +} + + diff --git a/newsletter-sign-up-with-success-message-main/index.html b/newsletter-sign-up-with-success-message-main/index.html index 8e7329b..76e80aa 100644 --- a/newsletter-sign-up-with-success-message-main/index.html +++ b/newsletter-sign-up-with-success-message-main/index.html @@ -3,44 +3,71 @@ + + + Frontend Mentor | Newsletter sign-up form with success message - + +
- Stay updated! - Join 60,000+ product managers receiving monthly updates on: +

Stay updated!

- Product discovery and building what matters - Measuring to ensure updates are a success - And much more! +

Join 60,000+ product managers receiving monthly
+ updates on:

- Email address - email@company.com +
+ + Product discovery and building what matters +
+
+ + Measuring to ensure updates are a success +
+
+ + And much more! +
- Subscribe to monthly newsletter + + - +
+ +
- +
+ +
+
- Thanks for subscribing! + - A confirmation email has been sent to ash@loremcompany.com. - Please open it and click the button inside to confirm your subscription. + +
+ +

Thanks for subscribing!

- Dismiss message +
A confirmation email has been sent to ash@loremcompany.com. + Please open it and click
the button inside to confirm your subscription.
+
+ +
+
@@ -48,5 +75,22 @@ Challenge by Frontend Mentor. Coded by Your Name Here. + \ No newline at end of file