Skip to content

Last commit ready for CR#18

Open
snirtal wants to merge 1 commit into
ColmanDevClubORG:mainfrom
snirtal:main
Open

Last commit ready for CR#18
snirtal wants to merge 1 commit into
ColmanDevClubORG:mainfrom
snirtal:main

Conversation

@snirtal

@snirtal snirtal commented Dec 4, 2025

Copy link
Copy Markdown

Last commit ready for CR

@Tamir198 Tamir198 left a comment

Copy link
Copy Markdown
Member

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

Comment thread script.js
numbers.forEach((btn) => {
btn.addEventListener('click', () => {
display.textContent += btn.textContent;
console.log(btn.textContent);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We dont want consoles in production code, let this of this pr as production

Comment thread script.js
const divideButton = document.getElementById('divide');
const equalsButton = document.getElementById('equal');

addButton.addEventListener('click', () => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you think of a better way to use single function for this and not add event listener to every operator in a new line?

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