-
Notifications
You must be signed in to change notification settings - Fork 38
finish-design #6
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
base: main
Are you sure you want to change the base?
finish-design #6
Conversation
Tamir198
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some general notes:
- its bad practice to comment out code, remove it if not needed
- colors should be saved inside css variables and not hardcoded
Other than that good work, I left you some comments
| <h1>Stay updated!</h1> | ||
| <p>Join 60,000+ product managers receiving monthly <br> updates on:</p> | ||
| <div class="line"> | ||
| <img class="ok-img" src="assets/images/icon-success.svg" alt=""> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For accessibility its you should fill out the alt attribute
| <h1>Stay updated!</h1> | ||
| <p>Join 60,000+ product managers receiving monthly <br> updates on:</p> | ||
| <div class="line"> | ||
| <img class="ok-img" src="assets/images/icon-success.svg" alt=""> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For accessibility its you should fill out the alt attribute
| And much more! | ||
| </div> | ||
| <form> | ||
| <label class="Email-label" for="email-textbox">Email address</label> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You want to be consistent with your other code so I would write this as email-label without the capital e
| And much more! | ||
| </div> | ||
| <form> | ||
| <label class="Email-label" for="email-textbox">Email address</label> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You want to be consistent with your other code so I would write this as email-label without the capital e
| <!-- Success message start --> | ||
|
|
||
| Thanks for subscribing! | ||
| <!-- Thanks for subscribing! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commenting code is bad practice, remove it.
we can always use git to check what was here
| @@ -0,0 +1,136 @@ | |||
| * { | |||
| box-sizing: border-box; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great
| padding: 0; | ||
| } | ||
|
|
||
| .right-side > p { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will select every direct p to the .right-side
If you need something more specific give class to your p and use it in here
| align-self: center; | ||
| } | ||
|
|
||
| .right-side form { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you will have more than 1 form inside right-side this css will affect him as well and we will not always want to do so
So the solution should be the same as in the comment above - add class name for your form
| } | ||
|
|
||
|
|
||
| @media (min-width: 768px) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work in supporting mobile as well, btw this is supported as well :
@media (width <= 1250px) {For more info check the docs
No description provided.