generated from CodeYourFuture/Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 212
NW | 25-ITP-Sep | TzeMing Ho | Sprint 3 | Quote Generator #803
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
Closed
Closed
Changes from 3 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
21aa7aa
making the quote app works but failing the second test
TzeMingHo 081238f
updated index.html
TzeMingHo ffe6668
added css styling
TzeMingHo 75d1246
adding a toggle button
TzeMingHo 4e2d6df
implemented auto generator
TzeMingHo e28e98d
tests are passed with testing-library/userEvent@13
TzeMingHo 11a4d4b
changed drive's name
TzeMingHo a9ba9ed
updated display setting
TzeMingHo 0e1bfe2
added aria-label for auto button, and variables for interval seconds
TzeMingHo 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
Some comments aren't visible on the classic Files Changed page.
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
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,36 @@ | ||
| /** Write your CSS in here **/ | ||
| :root { | ||
| --primary-bg-color: #e9b066; | ||
| --primary-color: #ffffff; | ||
| } | ||
|
|
||
| body { | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| text-align: center; | ||
| background-color: var(--primary-bg-color); | ||
| } | ||
|
|
||
| #poster { | ||
| width: 80%; | ||
| padding: 25px; | ||
| background-color: var(--primary-color); | ||
| color: var(--primary-bg-color); | ||
| font-size: larger; | ||
| font-style: italic; | ||
| position: relative; | ||
| top: 100px; | ||
| } | ||
|
|
||
| #quote { | ||
| font-weight: bold; | ||
| } | ||
|
|
||
| button { | ||
| border-radius: 8px; | ||
| font-size: medium; | ||
| background-color: var(--primary-bg-color); | ||
| color: var(--primary-color); | ||
| border: none; | ||
| } |
Oops, something went wrong.
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.
You have implemented the first part of this task quite well. However, you have yet to attempt the "auto-generate" task. Why is that?
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.
I was concerned that I couldn't figure out why the second test keeps failing. So, I made this pull request to seek for guidelines. However, if it is ok to move on, I would love to try implementing new features.
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.
Hi sambabib,
I have added an auto-update feature for the quote generator.