Skip to content

Больше деталей#3

Merged
craz3r merged 2 commits into
htmlacademy-javascript:masterfrom
Tikud11:module4-task1
Jun 19, 2025
Merged

Больше деталей#3
craz3r merged 2 commits into
htmlacademy-javascript:masterfrom
Tikud11:module4-task1

Conversation

@Tikud11

@Tikud11 Tikud11 commented Jun 12, 2025

Copy link
Copy Markdown
Contributor

Comment thread js/main.js Outdated
let userPhotographyList = [];

for (let i = 0; i < 25; i++) {
userPhotographyList[i] = {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

userPhotographyList.push({...})

Comment thread js/main.js Outdated
function userDescriptionPhotography() {
let userPhotographyList = [];

for (let i = 0; i < 25; i++) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

const MAX_PHOTO_COUNT = 25;

Comment thread js/main.js Outdated
url: `photos/${i + 1}.jpg`,
description: 'Тут я пытаюсь выполнить 4 доамшнее задание!)',
likes: 5 * (i + 10),
comments: {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

comments должен быть массивом

@keksobot keksobot changed the title Список из 25 объектов Больше деталей Jun 19, 2025
keksobot pushed a commit that referenced this pull request Jun 19, 2025
@keksobot

Copy link
Copy Markdown
Contributor

♻️ Я собрал ваш пулреквест. Посмотреть можно здесь.

@craz3r craz3r merged commit bd3b998 into htmlacademy-javascript:master Jun 19, 2025
1 check passed
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