Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add popup categories and contacts #29

Merged
merged 6 commits into from
Dec 1, 2022
Merged

Conversation

SergSkol
Copy link
Collaborator

@SergSkol SergSkol commented Dec 1, 2022

  • Add categories popup window;
  • Add contacts popup window;

Comment on lines +11 to +15
try {
const data = await response.json();
const commentsCount = document.getElementById(`comment${id}`);
commentsCount.textContent = `${data.length || ''}`;
} catch (err) {
Copy link
Owner

@odaialazzeh odaialazzeh Dec 1, 2022

Choose a reason for hiding this comment

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

good job 👍, that you created a counter for comments and it's not mandatory or from the requirements of the project, but kindly check it again because it's not working as supposed. 😃 [optional]

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I can't catch fetch response with status 400 in case if there are no comments for specific ID. So, I'm going to remove this part of code for a while.

src/style.css Outdated
Comment on lines 228 to 242

.cat-popup {
display: flex;
flex-wrap: wrap;
position: fixed;
top: 10px;
left: 10px;
background-color: white;
border: 4px solid #3e3e3e;
overflow-y: scroll;
height: 100%;
z-index: 999;
padding: 0 32px 0 32px;
}

Copy link
Owner

Choose a reason for hiding this comment

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

good job 👍, that you created a category popup it's not mandatory or from the requirements of the project, I suggest adding more style for it to make it look great and more organized. 😃 [optional]

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

sure. thanks!

Copy link
Owner

@odaialazzeh odaialazzeh left a comment

Choose a reason for hiding this comment

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

Status: ✔️ Project Approved ✔️ 🕺🥳

Congratulations🍾🥳!! Your project is ready! There is nothing else to say other than... it's time to merge it :shipit:

WowGoodJobGIF (2)

Highlights

  • Implemented all the requirements .👏 ✔️
  • implemented extra requirements like a comment counter and category page. 🙌👏

Optional Suggestions:

kindly consider the comment with the [optional] word, it will help you to improve your project and make it look better.


Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better.

Cheers and Happy coding!👏👏👏

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

Please, remember to tag me @odaialazzeh in your question so I can receive the notification.


As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

@odaialazzeh odaialazzeh merged commit 9c500a5 into dev Dec 1, 2022
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.

None yet

2 participants