generated from CodeYourFuture/Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
CYF-ITP-South Africa | Simphiwe Mabuya | Module-Data-Groups | Sprint-3-Quote-Generator #279
Open
Simphiwe-Mabuya
wants to merge
15
commits into
CodeYourFuture:main
Choose a base branch
from
Simphiwe-Mabuya:feature/Sprint-3-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.
Open
Changes from 14 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
725e4cd
Started by accessing elements: quote, author and the button through t…
Simphiwe-Mabuya 7abdc42
Created an event listener to listen for a "click" when the button is …
Simphiwe-Mabuya ebb7358
Declared a variable randomQuotes so to save both the quote and author…
Simphiwe-Mabuya efc2144
Declared a quote and author variables to separately save the values f…
Simphiwe-Mabuya f04d7d2
Updated my variables on line 30 and 31 ..then wrote two lines for dis…
Simphiwe-Mabuya 3b5e5ff
Renamed the title of my index.html file
Simphiwe-Mabuya fdbd133
Fixed line 33 and 44 so to display the quote and the author
Simphiwe-Mabuya 7ef21e5
Implemented an onload function so to match test expectations
Simphiwe-Mabuya 5cebbc0
Removed the script tag from the head and placed it above the body clo…
Simphiwe-Mabuya d4b1150
Updated my testing library and automatically adjusted the package.jas…
Simphiwe-Mabuya 83a725f
Edited my code on line 36 by removing the unnecessary delay
Simphiwe-Mabuya 5f1a055
Edited my test by removing the line 29 because it was targeting index…
Simphiwe-Mabuya 1d60750
Placed the script tag on top of the closing body tag and removed the …
Simphiwe-Mabuya a3ab094
Refined my event listener function to trigger and display a random quote
Simphiwe-Mabuya fa52327
Edited my HTML title to be uppercase consistent and added the defer a…
Simphiwe-Mabuya 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 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
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.
In your title make sure you are consistent with your case (some words starting with uppercse some with lowercase).
You can also make use of the defer attribute in your script tag
https://www.w3schools.com/tags/att_script_defer.asp