Skip to content
This repository was archived by the owner on Oct 26, 2020. It is now read-only.

Conversation

@bash93
Copy link

@bash93 bash93 commented Jul 2, 2020

Your Details

Your Name:
Your City:
Your Slack Name:

Homework Details

Module:
Week:


//add delete button to every row and render again
let delButton = document.createElement("button");
let delBut = document.createElement("button");

Choose a reason for hiding this comment

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

Good 👍

cell4.appendChild(changeBut);
let readStatus = "";
if (myLibrary[i].check == false) {
if (myLibrary[i].check === true) {

Choose a reason for hiding this comment

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

Good 👍


<!-- Write your answer here -->

Read the problem several times and write a pseudocode

Choose a reason for hiding this comment

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

Good - always try to really understand the problem you're trying to solve and then some pseudocode is good for making you think about the code you need to write

let rowsNumber = table.rows.length;
//delete old table
for (let n = rowsNumber - 1; n > 0; n-- {
for (let n = rowsNumber - 1; n > 0; n--) {

Choose a reason for hiding this comment

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

👍

return false;
} else {
let book = new Book(title.value, title.value, pages.value, check.checked);
let book = new Book(title.value, author.value, pages.value, check.checked);

Choose a reason for hiding this comment

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

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants