Skip to content

Comments

Library project#11

Open
DenisSteshin wants to merge 2 commits intomasterfrom
library
Open

Library project#11
DenisSteshin wants to merge 2 commits intomasterfrom
library

Conversation

@DenisSteshin
Copy link
Owner

No description provided.

@DenisSteshin DenisSteshin changed the title task is done Library project May 19, 2022
<!--***************************************-->
<div class="cart_book">
<div class="cover"></div>
<span class="name-book">Name book 6</span>
Copy link
Collaborator

Choose a reason for hiding this comment

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

список книг должен создаваться динамически из массива

const books = Array.from(contentMain.children);

books.forEach((book) => {
const ratingBook = Array.from(book.children[3].children[0].children).filter(
Copy link
Collaborator

Choose a reason for hiding this comment

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

book.children[3].children[0].children - не очень понятная запись, а если структура изменится? Может можно сразу напрямую обратиться к элементу?

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.

3 participants