Skip to content

Reut PR#3

Open
reutmaduel114-collab wants to merge 2 commits into
R0EYK:mainfrom
reutmaduel114-collab:main
Open

Reut PR#3
reutmaduel114-collab wants to merge 2 commits into
R0EYK:mainfrom
reutmaduel114-collab:main

Conversation

@reutmaduel114-collab

Copy link
Copy Markdown

No description provided.

@Tamir198 Tamir198 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey left you some comments


<title>Frontend Mentor | Newsletter sign-up form with success message</title>
<link rel="stylesheet" href="styles.css">
<script src="script.js" defer></script>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why do you need the defer? whats the meaning of it?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

defer tells the browser to load the script in parallel but execute it only after the HTML has fully loaded. I understand it's not strictly required in this case, but in general I find it useful.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ye juat wanted to know that you know what you are doing and not blindly accepy ai changes

</style>
</head>
<body>
<!-- Font -->

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Remove the comments, they are not very helpfull

<body>

Join 60,000+ product managers receiving monthly updates on:
<!-- מסך הטופס הראשי -->

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ok so no comments and even more no Hebrew comments ok?

email@company.com
<div class="check_list">
<div>
<img class="icon-list" src="assets/images/icon-list.svg" alt="">

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Empty alt does not do anything

Product discovery and building what matters
</div>
<div>
<img class="icon-list" src="assets/images/icon-list.svg" alt="">

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

In here you wrote icon-list but the other places are written like_this
Make sure to only pick one

.button {
background-color: hsl(234, 29%, 20%);
border-radius: 8px;
border: none;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

So border radius together with border none? is it working?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

No it actually doesn’t. That was my mistake:)

@media (max-width: 768px) {

body {
display: block;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Was the body not block before?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

No, it wasn’t
But after checking again, I don’t think this line is actually necessary

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

If you mean that the body is block by default, then yes

box-shadow: none;
}

.right_container {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can you think of more meaningful names for it ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I think image-container would be a better

}

.image {
height: auto !important;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We never want to use important, it will override everything else


/* success – mobile */

@media (max-width: 768px) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Isnt this the exact same media query like before? why do you need 2 ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

One media query is for the main sign up screen and the other is for the success screen. I thought it would be cleaner to separate them into two

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