Skip to content

Conversation

@OrChen555
Copy link

test

Copy link

@idanpopovich8 idanpopovich8 left a comment

Choose a reason for hiding this comment

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

hi i left you some code reviews inside

GOOD JOB!!!!!

</style>
</head>
<body>
.attribution {

Choose a reason for hiding this comment

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

For next time, we usually writing our design in a separate file called style.css

}

.attribution a {
color: hsl(228, 45%, 44%);

Choose a reason for hiding this comment

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

I recommend using CSS variables — they’re easier to work with and are generally considered best practice.

width: 40vw;
height: 50vh;
border-radius: 12px;
padding: 25px 5px;

Choose a reason for hiding this comment

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

Its better to work with rem.

.field {
display: flex;
flex-direction: row;
width:250px;

Choose a reason for hiding this comment

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

Coniser that its not It’s not recommended — and even considered incorrect — to use fixed pixel sizes for a div. If the user changes their screen size, the entire layout can break

justify-content: center;
align-items: center;
margin-top: 20px;
width:250px;

Choose a reason for hiding this comment

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

Same comment as before about pixels, try to use % or Vh and Vw

<div class="title"> Stay updated!</div>
<div class="sub-title"> Join 60,000+ product managers receiving monthly updates on:</div>
<div class="line-1">
<img src=assets\images\icon-list.svg>

Choose a reason for hiding this comment

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

Missing an alt artibute

<div class="email-title">
Email address
</div>
<div class=field>

Choose a reason for hiding this comment

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

In here you have to classes named "field" consider it is not good practice try to be more creative next time LOL : )

<div class="white-ground">
<div class="text">
<div class="title"> Stay updated!</div>
<div class="sub-title"> Join 60,000+ product managers receiving monthly updates on:</div>

Choose a reason for hiding this comment

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

In my opinion you have to many divs. in here the "sub-title" div supposed to be in a h1 label it will make your code easier to read

<body>

<div class="page">
<div class="grey-ground">

Choose a reason for hiding this comment

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

Try to use more logical names. grey-ground class its most commonly about colors and not about roles in my page.
maybe page-background will be better for next time.

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