-
Notifications
You must be signed in to change notification settings - Fork 38
Almog Lavi #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Lavi2910
wants to merge
8
commits into
ColmanDevClubORG:main
Choose a base branch
from
Lavi2910:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Almog Lavi #13
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
1e99f40
created a page for desktop
sltan29 90b7e63
added mobile and tablet adjustments and resposive design
sltan29 c7e8383
designed the success screen and made it available for mobile
sltan29 7c06710
removed lines that appear twice, removed <br>, removed unwanted comme…
sltan29 15fa71f
removed all <br>
sltan29 89e64ba
added alt attributes, changed screen sizing to em and fixed margin
sltan29 21d2ba3
changed all px units to em (still using vw and vh fo width and height…
sltan29 c31998f
Merge branch 'main' of https://github.com/Lavi2910/html-css-practice
sltan29 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
148 changes: 114 additions & 34 deletions
148
newsletter-sign-up-with-success-message-main/index.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,52 +1,132 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
|
|
||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device --> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|
|
||
| <link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png"> | ||
|
|
||
| <title>Frontend Mentor | Newsletter sign-up form with success message</title> | ||
| <link rel="stylesheet" href="style.css"> | ||
|
|
||
| <!-- Feel free to remove these styles or customise in your own stylesheet 👍 --> | ||
| <style> | ||
| .attribution { font-size: 11px; text-align: center; } | ||
| .attribution a { color: hsl(228, 45%, 44%); } | ||
| </style> | ||
| <link rel="preconnect" href="https://fonts.googleapis.com"> | ||
| <link | ||
| href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap" | ||
| rel="stylesheet"> | ||
| </head> | ||
| <body> | ||
|
|
||
| <!-- Sign-up form start --> | ||
|
|
||
| Stay updated! | ||
|
|
||
| Join 60,000+ product managers receiving monthly updates on: | ||
|
|
||
| Product discovery and building what matters | ||
| Measuring to ensure updates are a success | ||
| And much more! | ||
|
|
||
| Email address | ||
| email@company.com | ||
|
|
||
| Subscribe to monthly newsletter | ||
|
|
||
| <!-- Sign-up form end --> | ||
| <body> | ||
| <div class="main-rect"> | ||
| <div class="left-form"> | ||
| <h1 class="title"> | ||
| Stay updated! | ||
| </h1> | ||
| <p class="desc"> | ||
| Join 60,000+ product managers receiving monthly | ||
| updates on: | ||
| </p> | ||
|
|
||
| <!-- Success message start --> | ||
| <div class="checklistItem"> | ||
| <img src="assets/images/icon-success.svg" alt="" class="tickImg"> | ||
| <p> | ||
| Product discovery and building what matters | ||
| </p> | ||
| </div> | ||
| <div class="checklistItem"> | ||
| <img src="assets/images/icon-success.svg" alt="" class="tickImg"> | ||
| <p> | ||
| Measuring to ensure updates are a success | ||
| </p> | ||
| </div> | ||
| <div class="checklistItem"> | ||
| <img src="assets/images/icon-success.svg" alt="" class="tickImg"> | ||
| <p> | ||
| And much more! | ||
| </p> | ||
| </div> | ||
| <form class="main-form" action="success.html" method="get"> | ||
| <label for="email" class="lab">Email adress</label> | ||
| <input type="email" placeholder="email@company.com" required> | ||
| <button type="submit">Subscribe to monthly newsletter</button> | ||
| </form> | ||
| </div> | ||
| <div class="right-img"> | ||
| <img src="assets/images/illustration-sign-up-desktop.svg" class="desk-img" alt=""> | ||
| </div> | ||
| </div> | ||
|
|
||
| Thanks for subscribing! | ||
| <div class="mobile-main"> | ||
| <img src="assets/images/illustration-sign-up-mobile.svg" class="pic"> | ||
| <div class="main-area"> | ||
| <h1 class="title"> | ||
| Stay updated! | ||
| </h1> | ||
| <p class="desc"> | ||
| Join 60,000+ product managers receiving monthly updates on: | ||
| </p> | ||
| <div class="checklistItem"> | ||
| <img src="assets/images/icon-success.svg" alt="" class="tickImg"> | ||
| <p> | ||
| Product discovery and building what matters | ||
| </p> | ||
| </div> | ||
| <div class="checklistItem"> | ||
| <img src="assets/images/icon-success.svg" alt="" class="tickImg"> | ||
| <p> | ||
| Measuring to ensure updates are a success | ||
| </p> | ||
| </div> | ||
| <div class="checklistItem"> | ||
| <img src="assets/images/icon-success.svg" alt="" class="tickImg"> | ||
| <p> | ||
| And much more! | ||
| </p> | ||
| </div> | ||
| <form class="main-form" action="success.html" method="post"> | ||
| <label for="email" class="lab">Email adress</label> | ||
| <input type="email" placeholder="email@company.com" required> | ||
| <button type="submit">Subscribe to monthly newsletter</button> | ||
| </form> | ||
|
|
||
| A confirmation email has been sent to ash@loremcompany.com. | ||
| Please open it and click the button inside to confirm your subscription. | ||
| </div> | ||
| </div> | ||
|
|
||
| Dismiss message | ||
| <div class="tablet-main"> | ||
| <img src="assets/images/illustration-sign-up-tablet.svg" class="pic"> | ||
| <div class="main-area"> | ||
| <h1 class="title"> | ||
| Stay updated! | ||
| </h1> | ||
| <p class="desc"> | ||
| Join 60,000+ product managers receiving monthly updates on: | ||
| </p> | ||
| <div class="checklistItem"> | ||
| <img src="assets/images/icon-success.svg" alt="tick before sentence" class="tickImg"> | ||
| <p> | ||
| Product discovery and building what matters | ||
| </p> | ||
| </div> | ||
| <div class="checklistItem"> | ||
| <img src="assets/images/icon-success.svg" alt="tick before sentence" class="tickImg"> | ||
| <p> | ||
| Measuring to ensure updates are a success | ||
| </p> | ||
| </div> | ||
| <div class="checklistItem"> | ||
| <img src="assets/images/icon-success.svg" alt="tick before sentence" class="tickImg"> | ||
| <p> | ||
| And much more! | ||
| </p> | ||
| </div> | ||
| <form class="main-form" action="success.html" method="post"> | ||
| <label for="email" class="lab">Email adress</label> | ||
| <input type="email" placeholder="email@company.com" required> | ||
| <button type="submit">Subscribe to monthly newsletter</button> | ||
| </form> | ||
|
|
||
| <!-- Success message end --> | ||
|
|
||
| <div class="attribution"> | ||
| Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>. | ||
| Coded by <a href="#">Your Name Here</a>. | ||
| </div> | ||
| </div> | ||
| </body> | ||
|
|
||
| </html> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.