Skip to content

Conversation

@AsherPe
Copy link

@AsherPe AsherPe commented Dec 1, 2025

No description provided.

Copy link
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.

Hey i left you some cooments, they are relevant to every place in the code.
I just didnt want to repeat myself a lot

@@ -0,0 +1,28 @@
const emailPattern = document.getElementById("email");
const CCC = "#ccc"
Copy link
Member

Choose a reason for hiding this comment

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

There should not be colors in here, they should sit inside css variable object, also ccc is not a good name, the name should indicate the color and not the hexa value

@@ -0,0 +1,28 @@
const emailPattern = document.getElementById("email");
Copy link
Member

Choose a reason for hiding this comment

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

This is not the patterns but the element

const email = emailPattern.value;
const pattern = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
if (email === "") {
emailPattern.style.borderColor = "CCC";
Copy link
Member

Choose a reason for hiding this comment

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

Never style via js, only from css and dynamic classes



body {
background-color: hsl(234, 29%, 20%);
Copy link
Member

Choose a reason for hiding this comment

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

bring the colors from css variables


.container {
display: flex;
background: white;
Copy link
Member

Choose a reason for hiding this comment

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

Same here and for all of the similar places

background: white;
width: 45%;
height: 55%;
border-radius: 25px;
Copy link
Member

Choose a reason for hiding this comment

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

Try not to mix different units, go with 1

justify-content: center;
padding: 50px;
width: 43%;
height: auto;
Copy link
Member

Choose a reason for hiding this comment

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

Do you really need this? will it have any effect?


}

#left-side h1 {
Copy link
Member

Choose a reason for hiding this comment

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

Can you think of a better name than left side? what if this will not be on the left side in the future?

</p>

<ul>
<li><img src="assets/images/icon-list.svg" alt="">Product discovery and building what matters</li>
Copy link
Member

Choose a reason for hiding this comment

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

Empty alt means nothing in terms of accessibility

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