Skip to content

Hamed R. - #3

Open
HamedRazizadeh-hub wants to merge 1 commit into
HackYourAssignment:mainfrom
HamedRazizadeh-hub:main
Open

HamedRazizadeh-hub wants to merge 1 commit into
HackYourAssignment:mainfrom
HamedRazizadeh-hub:main

Conversation

@HamedRazizadeh-hub

Copy link
Copy Markdown

No description provided.

Comment thread task-1/style.css
@@ -0,0 +1,64 @@
body {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Look at that!
You already added the CSS that were not part of this tasks. Did you already study it?

Comment thread task-1/index.html
<p>Frontend Developer Student</p>

<img
src="https://media.licdn.com/dms/image/v2/D4D03AQHJh1pgR0V6xg/profile-displayphoto-scale_400_400/B4DZ386YA5HkAk-/0/1778064656767?e=1779926400&v=beta&t=lz9OJBRjDMcdJ9Ta94DItBx7vRMNvRnZscn-KJOX7WM"

@rafasilpereira rafasilpereira May 13, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

How would you show this image if it was saved in the folder?

Comment thread task-1/index.html
src="https://media.licdn.com/dms/image/v2/D4D03AQHJh1pgR0V6xg/profile-displayphoto-scale_400_400/B4DZ386YA5HkAk-/0/1778064656767?e=1779926400&v=beta&t=lz9OJBRjDMcdJ9Ta94DItBx7vRMNvRnZscn-KJOX7WM"
alt="profile-picture"
/>
<button id="theme-toggle" type="button">Toggle Theme</button>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Very cool feature and in combination with the JS DOM Manipulation!

Comment thread task-1/index.html

<main>
<section>
<h2>about Me</h2>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nitpick: Maybe the capital letter would fit better?

Suggested change
<h2>about Me</h2>
<h2>About Me</h2>

Comment thread task-1/index.html
</header>

<main>
<section>

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 did you choose an section? Do you think that other tags could be used here?

Comment thread task-1/script.js
});

contactForm.addEventListener("submit", function (event) {
event.preventDefault();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Maybe move the const formMessage inside the listener is better, then you don't create it in global level.

@rafasilpereira rafasilpereira added the Reviewed This assignment has been reivewed by a mentor and a feedback has been provided label May 13, 2026
Comment thread task-1/index.html

<img
src="https://media.licdn.com/dms/image/v2/D4D03AQHJh1pgR0V6xg/profile-displayphoto-scale_400_400/B4DZ386YA5HkAk-/0/1778064656767?e=1779926400&v=beta&t=lz9OJBRjDMcdJ9Ta94DItBx7vRMNvRnZscn-KJOX7WM"
alt="profile-picture"

@rafasilpereira rafasilpereira May 13, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

alt property is used as a description for the image when is not loaded, and more important is used for screen readers for accessibility. Review this text ;)

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