Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Перламутровые пуговицы #12

Merged

Conversation

TatianaSenatorova
Copy link
Contributor

@TatianaSenatorova TatianaSenatorova commented Dec 14, 2024

@keksobot keksobot changed the title Module12 task1 Перламутровые пуговицы Dec 14, 2024
Copy link

@aimenin aimenin left a comment

Choose a reason for hiding this comment

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

Отличная работа, пара комментариев, которые можно исправить перед защитой

const getPhotosToRender = (filter) => {
let photosToRender = [];
const copyPhotos = photos.slice();
if (filter === FILTERS.random) {
Copy link

Choose a reason for hiding this comment

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

в данном случае я бы рассмотрел вариант использовать switch

@@ -1,19 +1,28 @@
import { renderThumbnails } from './render-photos.js';
// import { getPhotosToRender } from './filters.js';
Copy link

Choose a reason for hiding this comment

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

лучше сразу удалять комментарии, если они не нужны, чтобы не забыть это сделать перед защитой

@keksobot keksobot merged commit 2a3c874 into htmlacademy-javascript:master Dec 17, 2024
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