Skip to content

Update script.js#1

Open
KateDanKo wants to merge 3 commits intomainfrom
hometask-4
Open

Update script.js#1
KateDanKo wants to merge 3 commits intomainfrom
hometask-4

Conversation

@KateDanKo
Copy link
Copy Markdown
Owner

No description provided.

script.js Outdated

const newElement = document.creatElement('p');
newElement.addEventListener('click', function(){
newElement.classList.add('done');
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Катя, 21 строка не нужна Оставь только toggle (22 строку)

script.js Outdated
if (event.key == 'Enter') {
const messageText = input.value;

const newElement = document.creatElement('p');
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Катя, где в 19й строке ошибка?

была опечатка в 19 строке, исправила
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