Skip to content

Add CSS assignment - responsive profile page - #4

Open
dianadenwik wants to merge 1 commit into
HackYourAssignment:mainfrom
dianadenwik:main
Open

dianadenwik wants to merge 1 commit into
HackYourAssignment:mainfrom
dianadenwik:main

Conversation

@dianadenwik

Copy link
Copy Markdown

No description provided.

Comment thread task-1/styles.css
max-width: 100%;
}

@media (min-width: 600px) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Well done one making mobile-first!

Comment thread task-1/styles.css
Comment on lines +51 to +56
#contact-form {
display: flex;
flex-direction: column;
gap: 1rem;
width: 20rem;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

As required, you used flex in the contact form. Well done!

Comment thread task-1/styles.css
Comment on lines +96 to +100
:focus-visible {
outline: 3px solid #6366f1;
outline-offset: 3px;
border-radius: 4px;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Well done in the accescibility approach!

Comment thread task-1/styles.css
Comment on lines +116 to +122
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
transition-duration: 0.01ms;
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good accessibility approach!

Comment thread task-1/styles.css
display: grid;
grid-template-columns: 2fr 1fr;
gap: 2rem;
padding: center;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

According to padding documentation, center value is not possible. How would you change it?

Comment thread task-1/styles.css
Comment on lines +58 to +63
img {
border-radius: 50%;
width: 10rem;
height: 10rem;
max-width: 100%;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All img are receiveing this format. Which means that all images are going to be a circle. How would you apply this only for the avatar?

Comment thread task-1/styles.css
Comment on lines +85 to +93
.contact {
grid-column: 2;
border-left: 1px solid #ccc;
padding-left: 2rem;
background-color: #9fa480;
border-radius: 5%;
padding: 2rem;
padding-top: 4rem;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

You have 3 properties of padding. Line 88 is not being executed because line 91 override this.

image.png

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

And contact form only has a background in Desktop view. For mobile and tablet this formatting is not being applied

Comment thread task-1/styles.css
Comment on lines +133 to +135
button[type="submit"]:hover {
background-color: #4c3f02;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

When you hover the button, the text became dark. Consider to change also the font color.

image.png

@rafasilpereira rafasilpereira added Reviewed This assignment has been reivewed by a mentor and a feedback has been provided and removed Review in progress labels May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed This assignment has been reivewed by a mentor and a feedback has been provided

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants