Skip to content

Conversation

@Xsairo
Copy link

@Xsairo Xsairo commented Dec 16, 2025

No description provided.

Comment on lines 15 to 20
<main class="calculator__main">
<div class="calculator__card">
<div class="calculator__inputs">
<div class="calculator__input-group">
<label for="number1" class="calculator__label">Первое число</label>
<input type="number"
Copy link
Collaborator

Choose a reason for hiding this comment

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

calculator__main
|
|__ main__card
     |
     |__ card_inputs
          |
          |__ inputs__input-group
          |
          |__ inputs__operation

Comment on lines +2 to +8
const number1Input = document.getElementById('number1');
const number2Input = document.getElementById('number2');
const operationSelect = document.getElementById('operation');
const calculateButton = document.getElementById('calculate');
const resultDiv = document.getElementById('result');
const error1Div = document.getElementById('error1');
const error2Div = document.getElementById('error2');
Copy link
Collaborator

Choose a reason for hiding this comment

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

А если какой-то элемент не найден?

@AvtoBBus AvtoBBus self-requested a review December 19, 2025 04:47
@AvtoBBus
Copy link
Collaborator

Принято

@AvtoBBus AvtoBBus closed this Dec 19, 2025
@github-actions github-actions bot added Done and removed In progress labels Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants