Commit Graph

316 Commits

Author SHA1 Message Date
Isah Jacob 8dfcd1eb07 used .tolowercase metheod to convert every string to lower changes
I used also .replace with regular expression that will match anything between A-Z, and a-z and replace afterwards
processed the string using .split, .reverse, and .join method
and the function return true if processedString is equal to reversedString;
2022-10-31 22:41:59 +01:00
Isah Jacob 879d67a4b2 I supplied a parameter called array
I use .map method to map the book to the title.
2022-10-31 21:59:13 +01:00
Isah Jacob 16b15bbc9e Removed the skip method to run the test 2022-10-31 21:40:51 +01:00
Isah Jacob 92e050d85f I added parameters to the functions
I converted the sum and multiplication parameters to an array
I used lamda in order to multiply through the numbers
2022-10-31 21:34:26 +01:00
Isah Jacob f1f97f4295 modified the each function 2022-10-31 21:31:57 +01:00
Isah Jacob 94cb07cfc6 created two prameter inside the add function
assigned each with a value 8 and 10
add the two variable using the plus operator
assign the result to the result variable and return the result variable
2022-10-31 18:52:54 +01:00
Isah Jacob f7ca8ba56e modified the parameter to carry the full spelling instead of just letter 2022-10-31 17:40:10 +01:00
Isah Jacob 9290e3502c created two function that takes a parameter
use the conversion formula to convert from fahrenheit to celsius and from celsius to fahrenheit
2022-10-31 17:25:11 +01:00
Isah Jacob 8c96eb988d modified the test file. running test only on the first test case. the skip method remains on the rest 2022-10-31 17:23:43 +01:00
Isah Jacob bb876de4d4 Remove the skip method to run all test cases 2022-10-30 23:51:07 +01:00
Isah Jacob 34e89ed634 An if statement that check if leapYear is divisible by 4 will equal 0
and also check if leapYear divisible by 100 will not equal 0
and compare also if leapYear is divisible by 400 and will equal 0
2022-10-30 23:46:42 +01:00
Isah Jacob c06c96ab14 Removed the skip method to run the test on all test cases 2022-10-30 23:14:19 +01:00
Isah Jacob a72813e9c4 If statement to check lowInteger and highInteger are numbers using Number object to represent them as a Number
also I used isInteger boolean condition to check that lowInteger and highInteger is an integer that return an error

an if statement to check that lowInteger and highInteger returns error if they are less than zoro

then if lowInteger is greater than highInteger then assign lowInteger to a temperary holder variable

then assign value of lowInteger to highInteger
then return the value of temperary holder back to highInteger

create a variable that holds the final sumAll
loop through the lowInteger and assign the final value to finalSum then return finalSum
2022-10-30 22:27:03 +01:00
Isah Jacob 9583f5d564 remove the skip method to run the test on all test cases 2022-10-30 20:11:51 +01:00
Isah Jacob 32bea92581 I assigned the first element in the list to array
created an empty array and I use forEach to loop through the element to assign the element to the newArray
2022-10-30 19:05:13 +01:00
Isah Jacob 1222acbb4b removed the skip method to be able to run multple test 2022-10-29 11:39:32 +01:00
Isah Jacob 746d122896 added a parameter to the function
I used the .split, .reverse and .join method to be able to reverse the string
created a variable that holds the reversed string
2022-10-29 11:35:46 +01:00
Isah Jacob 4bdabe13e5 run the first test and removed the skip method to allow the rest test run 2022-10-29 11:08:34 +01:00
Isah Jacob 8ec38c4b57 created a variable that hold the string. loop through the number of times the string is repeated.
assigned the number time the string is repeated to the variable created
2022-10-29 11:05:02 +01:00
Isah Jacob 342604b4e2 added Hello World to the function so that the function can return Hello World 2022-10-29 09:57:17 +01:00
Kevin Mulhern 0747078d97
Updated Installing Node JS lesson URL
Because:
* We have updated our lesson urls
2022-03-27 13:51:06 +01:00
Eric Olkowski 2586a8460c
Merge pull request #231 from TheOdinProject/thatblindgeye-patch-2
Templates: Create PR and Issue files
2022-02-22 17:01:28 -05:00
Eric Olkowski 649f0e3771
Update PULL_REQUEST_TEMPLATE.md 2022-02-20 13:25:26 -05:00
Eric Olkowski f82c72f760
Update bug_report.md 2022-02-20 13:21:49 -05:00
Eric Olkowski f002e3d6d0
Update feature_request.md 2022-02-20 13:20:37 -05:00
Eric Olkowski 1971712fde
Merge pull request #230 from TheOdinProject/thatblindgeye-patch-1
README: Make more consistent with other repos
2022-02-17 07:22:10 -05:00
Eric Olkowski 67d4d0afec
Update README.md 2022-02-16 22:01:13 -05:00
Eric Olkowski 076059551a
Update README.md 2022-02-16 17:41:44 -05:00
Eric Olkowski 2b54b1d682
Merge branch 'main' into thatblindgeye-patch-1 2022-02-16 17:26:00 -05:00
01zulfi 2ebbb5a925
Merge pull request #232 from jernestmyers/fix/update-readme
Remove irrelevant text from README about order of completion
2022-02-16 08:55:14 +05:00
Jeremy Myers edb9c244b5 Remove irrelevant text about order of completion 2022-02-14 16:05:00 -05:00
Eric Olkowski 417ee0d6e5
Create feature_request.md 2022-02-14 15:09:44 -05:00
Eric Olkowski baa5b0a761
Create bug_report.md 2022-02-14 15:09:20 -05:00
Eric Olkowski 6dd594c900
Create PULL_REQUEST_TEMPLATE.md 2022-02-14 15:07:50 -05:00
Eric Olkowski 1b43007a26
Update README.md 2022-02-14 14:59:03 -05:00
Michael Frank 2f9f431194
Merge pull request #227 from Mclilzee/main 2022-02-13 09:22:26 +13:00
Mclilzee 1acdfccb5d Fix palindromes false positive test 2022-02-08 20:52:06 +01:00
Michael Frank 82db5eac8b
Merge pull request #215 from programmurr/.../...new-node-install 2022-01-28 09:45:37 +13:00
Michael Frank efdfbd441c
Merge pull request #206 from chagstep1/patch-1 2022-01-27 14:32:10 +13:00
Michael Frank b1a0bf97c3
Merge pull request #193 from HiddenOgre28/main 2022-01-27 14:30:10 +13:00
conor 7a9377f675 Update NPM instruction to new lesson link 2022-01-18 21:09:59 +00:00
Austin 10044560cd
Merge pull request #210 from gerijeb/testFixing
Fix typo
2022-01-03 15:33:21 +00:00
gerijeb 09806f109a Fix typo 2022-01-01 21:50:35 -03:00
chagstep1 6527372e94
Remove predefined parameter from reverseString.js
Making it consistent with other exercise setups
2021-12-27 19:32:43 +03:00
HiddenOgre28 36e36b5278
Fixed a typo in line 41
Corrected the word "this" so it starts with an upper case "T".
2021-11-25 09:19:17 -03:00
Tatiana 6b0e0e55e3
Merge pull request #186 from mohammedsobhi/patch-1
fix 'says hello world' in README.md
2021-09-22 10:12:27 -07:00
Mohammed Sobhi e4f9675628
fix 'says hello world' in README.md
change 'says hello world'  to   'says "Hello, World!" ' to be identical to the code in the (helloWorld.spec.js) file.
2021-09-22 19:02:34 +02:00
Briggs Elsperger 2197f7b1b5
Merge pull request #183 from TheOdinProject/add-comments
add clarifiying comment about not removing code
2021-09-11 16:23:39 -06:00
Briggs Elsperger 74ab0b7cc6 add clarifiying comment about not removing code 2021-09-11 16:18:55 -06:00
Tatiana 0c5601ebd4
Merge pull request #181 from vishant-nambiar/fix/typo-in-caesar
Fixed typo in caesar cipher excersize
2021-08-31 22:35:50 -07:00