generated from CodeYourFuture/Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 155
London | 25-ITP-May | Houssam Lahlah | Sprint 3 | Clean Quote-Generator #757
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
Open
HoussamLh
wants to merge
13
commits into
CodeYourFuture:main
Choose a base branch
from
HoussamLh:clean-quote-generator
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+40
−8
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
b06cb19
Add mean calculation test
HoussamLh c9fbbff
Add test for calculateMedian and calculateMean using salaries array
HoussamLh 95f7fd3
Add calculateMedian function with tests for even and odd length arrays
HoussamLh f02e624
I've done the prep of this sprint 2
HoussamLh c87010e
access houseNumber property correctly instead of using index
HoussamLh 0b3bd51
iterate over object values correctly to log all properties
HoussamLh 5c03c87
correctly log recipe ingredients on separate lines
HoussamLh 89b9b6a
I just make my changes by accident in the main branch so I went back …
HoussamLh 160cacd
Merge branch 'CodeYourFuture:main' into main
HoussamLh 3a914e9
Add Quote Generator implementation only
HoussamLh 8f834d7
Add Quote Generator implementation only
HoussamLh a3ee89b
call pickFromArray with the quotes array to check you get a random quote
HoussamLh 36b8098
Remove prep folder from clean branch
HoussamLh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,4 @@ const recipe = { | |
|
||
console.log(`${recipe.title} serves ${recipe.serves} | ||
ingredients: | ||
${recipe}`); | ||
${recipe}`); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
/** Write your CSS in here **/ | ||
body { | ||
font-family: Arial, sans-serif; | ||
background: #f4f4f4; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
} | ||
|
||
.quote-box { | ||
background: white; | ||
padding: 2rem; | ||
border-radius: 1rem; | ||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); | ||
text-align: center; | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should respect instructions like
DO NOT EDIT BELOW HERE
; it is usually there for a reason. If you are curious about why, you can ask ChatGPTWhy should programmers respect "DO NOT EDIT BELOW HERE" instruction in a file?