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

Шаблонизируй это #4

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

Shamrat8
Copy link
Contributor

@Shamrat8 Shamrat8 commented Feb 20, 2025

Copy link

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

github-actions bot pushed a commit that referenced this pull request Feb 20, 2025
}

function calculatesTravelTime(dateFrom, dateTo) {
const date1 = dayjs(dateTo);
Copy link
Collaborator

Choose a reason for hiding this comment

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

не самое лучшее название для переменной date1

Copy link
Collaborator

Choose a reason for hiding this comment

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

utilS, тут же много утилит

}


function createFormOffersTemplate(pointOffers, point) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

для template лучше отдельный файл создать

Copy link
Collaborator

Choose a reason for hiding this comment

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

и для всего что возвращает разметку

@AlSudar AlSudar merged commit 77d83d4 into htmlacademy-ecmascript:master Feb 20, 2025
2 checks 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.

2 participants