Skip to content

Designed Newsletter sign-up form#5

Open
danielsaggir wants to merge 1 commit into
ColmanDevClubORG:mainfrom
danielsaggir:main
Open

Designed Newsletter sign-up form#5
danielsaggir wants to merge 1 commit into
ColmanDevClubORG:mainfrom
danielsaggir:main

Conversation

@danielsaggir
Copy link
Copy Markdown

No description provided.

@Tamir198 Tamir198 self-requested a review November 26, 2025 18:47
Copy link
Copy Markdown
Member

@Tamir198 Tamir198 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are some general notes:

  1. Please use css variables for colors and not write them hardcoded


<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
<!-- <style>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To track changes you have git, we dont need to leave commented code because this is a bad practice

<body>

<!-- Sign-up form start -->
<div class="form">
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In terms of semantic you could also use the
form
tag

Why? HTML is like a book for developers, and we all know that form label means that we have a form

So its more readable


<!-- Sign-up form start -->
<div class="form">
<div class="left">
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO - I think that we can find a better name for this, and this is because if we will have a lot of html that should go to the left of some parent then it will be hard to distinguish between all of the other "left" parts

<div class="left">
<div class="text">
<p class="header">Stay Updated!</p>
<p class="small">Join 60,000+ product managers receiving monthly<br>updates on:</p>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its not recommended to use br tag, its a bad practice.
Please space your text with css

<div class="checkbox">
<div class="row">
<img src="./assets/images/icon-list.svg" id="icon">
<p class="small" id="icons">Product discovery and building what matters</p>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need both class and id? you can have multiple classes assigned into one element and this way you will not need to use id


Stay updated!
</div>
<!-- Stay updated!
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its a bad practice to leave commented code, we have git to trace changes for it please remove this

<!-- Success message start -->

Thanks for subscribing!
<!-- Thanks for subscribing!
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont want to write you tons of times, so generally take the above comment about the commented out code and implement it all over this file

align-items: center;
width: 100%;
height: 100%;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey why do you need all of those fallbacks? didnt the task already had font inside a folder?

margin-bottom: 28px;
margin-top:40px;
}
#icon{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need to use id? can you do the same with class?

width: 365px;
height:36px;
}
#placeholder{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment in here about the class usage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants