-
-
Notifications
You must be signed in to change notification settings - Fork 111
feat: build fortune telling app workshop #950
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
Merged
jdwilkin4
merged 39 commits into
freeCodeCamp:main
from
nhcarrigan:feat/fortune-telling-app
Sep 2, 2025
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
e7f7bdf
feat: create first Typescript workshop
a2937 48cb7ce
add typescript base
a2937 78ca335
add watcher
a2937 1d745be
feat: implement initial dashboard layout and responsive styles
tekluabayneh 17cf82e
Update index.html and style.css
tekluabayneh 3b746e8
fix: update package version and correct CSS syntax issues
tekluabayneh 1d70d43
chore: updated HTML structure and CSS styles for better layout and ad…
tekluabayneh 2f3c29d
feat: implement card reveal buttons and new reading reset logic
tekluabayneh 5467ff1
fix: extra doublequote removed
shootermv f865da3
complete fetching from the API
a2937 936afa8
chore: get html formatted with prettier
shootermv e31d8e4
feat: add click handler to card elements to update displayed card data
tekluabayneh 1fc5e31
chore: add prettier package & configuration
shootermv 6f4b2c4
feat: replace card title with image and refactor some CSS
tekluabayneh 0fa22ee
chore: formatting ts and css files
shootermv dbc9045
refactor: Game class added
shootermv 9d3089f
feat: refactor typescript to use type guuard
tekluabayneh 2790715
Merge branch 'feat/fortune-telling-app' of https://github.com/nhcarri…
tekluabayneh b1f24b5
chore: format the code
shootermv 58020f1
chore: rename cardTamplate -> renderCard
shootermv df3c219
refactor: attach logic to clss methods
shootermv 6085d13
feat: remove unused type
tekluabayneh cf61fd5
refactor: add improvements to typescript
shootermv 45019ad
feat: added default image url for missing
tekluabayneh 2bd8f95
fix: add preloader & add deafult image instead of missing image
shootermv 469d212
refactor: move elements members of Game class
shootermv 025a996
refactor: move fortueDescription element to be member if Game class
shootermv 74e312a
refactor: remove extra vars
shootermv d48183d
refactor: rest of element vars moved to be Game members
shootermv 8b337f7
docs: add a comments to the code
shootermv dbbd219
refactor: rename IMG_URL to CDN_URL
shootermv af8d733
chore: remove extra typechecking
shootermv 54a01c7
refactor: replace img by figure tag
shootermv e76300e
fix: update non-null assertions and use generics with type guards
tekluabayneh f68cb1a
Merge branch 'feat/fortune-telling-app' of https://github.com/nhcarri…
shootermv 367d4c1
style: improve the design
shootermv ca740a7
style: change style of fortune description
shootermv f0ff170
Merge pull request #24 from nhcarrigan/improve-the-design
a2937 9a5ff77
fix: remove unused css
tekluabayneh 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
112 changes: 74 additions & 38 deletions
112
fullstack-cert/typescript-projects/fortune-app/src/script.ts
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
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.
Uh oh!
There was an error while loading. Please reload this page.