Skip to content

Barcelona | Oct2025-2 | Roman Pavlenko | Sprint-2 | Coursework#2

Open
DraftRoman wants to merge 9 commits intomainfrom
exercises-of-sprint-2
Open

Barcelona | Oct2025-2 | Roman Pavlenko | Sprint-2 | Coursework#2
DraftRoman wants to merge 9 commits intomainfrom
exercises-of-sprint-2

Conversation

@DraftRoman
Copy link
Copy Markdown
Owner

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

1-key-errors

  • 0 let this let statement is trying to declare a variable with the same name as the function parameter
  • 1 const decimalNumber = 0.5; and callin the function, for example console.log(convertToPercentage(0.75)); // 75%
  • 2 square(num) { // changed parameter name from 3 to num. console.log(square(4)); // 16

Briefly explain your PR.

Questions

Ask any questions you have for your reviewer.

- 0 let this let statement is trying to declare a variable with the same name as the function parameter
- 1 const decimalNumber = 0.5; and callin the function, for example console.log(convertToPercentage(0.75)); // 75%
- 2 square(num) {  // changed parameter name from 3 to num. console.log(square(4)); // 16
1 - replaced console.log in to return
2 - removed semicolom after return statement and retuned sum of a and b
3 - added argument for function.
- replaced num in to a argument inside the function
1. - made function to calculate the BMI
 - created a variable for call the function
2. - created a function for make it toUpperSnakeCase and added few tests
3. - function for pounds
- practiced in methods  substring, padStart, padEnd
- added console.log as tests
- experimented with the file time-format, and before that created time function which works for 23:59 format
- created phone number used slice and join methods
- worked with objects and types
- arrow function. length with the filter method to count the number of developers who met the conditions
- and basic one with switch case operators
- split solt join methods in function descendingOrder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

good first issue Good for newcomers

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant