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

Js dom task #57

Merged
merged 5 commits into from
Aug 9, 2022
Merged

Js dom task #57

merged 5 commits into from
Aug 9, 2022

Conversation

the-darkesttt
Copy link
Contributor

Js dom task

Demo |
Code base

The code is submitted in a dedicated feature branch.

Only code files are submitted.

Please, review.

@zonzujiro zonzujiro self-requested a review August 5, 2022 11:02
@the-darkesttt
Copy link
Contributor Author

@zonzujiro please review


asideList.addEventListener('click', function(event) {
const listTarget = event.target;
if (listTarget.tagName != 'LI') return;
Copy link
Member

Choose a reason for hiding this comment

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

Not sure why you need this check, TBH. What if I will click on the child of the list item?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added it because I can accidentally click on asideList itself which will cause error. Fixed

@zonzujiro
Copy link
Member

Please, resolve outdated conversations

@the-darkesttt the-darkesttt requested a review from zonzujiro August 8, 2022 19:32
@zonzujiro zonzujiro merged commit 527c80e into kottans:main Aug 9, 2022
@the-darkesttt the-darkesttt deleted the js-dom-task branch August 9, 2022 14:44
@zonzujiro zonzujiro mentioned this pull request Aug 13, 2022
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants