-
-
Notifications
You must be signed in to change notification settings - Fork 72
PAWEL BROILO I MODULE DATA FLOWS I BOOK LIBRARY #220
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
base: main
Are you sure you want to change the base?
Conversation
Why did you close PR #218 and delete its branch? My requests still stand:
Please address these issues. |
The code was not working when I tested them in the browser. Did you forget to transfer the code from your implementation to these files? |
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.
Please transfer your code from Book Library.html
to index.html
and script.js
.
debugging/book-library/index.html
Outdated
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.
Why yo deleted the <script> tag in this file that imports the code from script.js
?
You have a working implementation in Book Library.html
. You can transfer the HTML code (only HTML code) from that file to this file.
debugging/book-library/script.js
Outdated
@@ -1,3 +1,4 @@ | |||
<script> |
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.
This file should only contain JavaScript code.
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.
The code in this script has bug and is not working properly. You will need to fix them.
Why don't you transfer your JS code from Book Library.html
to this file?
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 are getting closer. But you have to make some more changes to make the app work. Please refer to the feedback I left in your code.
debugging/book-library/index.html
Outdated
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.
If you don't add a proper <script> tag to include your code from script.js
, the app won't work properly.
debugging/book-library/script.js
Outdated
deleteCell.appendChild(delBtn); | ||
}); | ||
} | ||
</script> |
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.
Are <script>
at line 1, and </script>
at line 103 valid JS code?
You app still would not run. Your changes does not address my feedback. Please refer to my previous feedback left in your code. |
Dear CJ,
I tried to implement <script> and </script> elsewhere in order for it to
work. Tried in Script.js in front and back of the code you provided in
previous Comment however AI has placed it in corrected places in code
Script.js and Book Library.html when I tested my code for <script> and
</script>.
I tested my implementation of <script> and </script> with AI for Book
Library Project and now App runs correct with all its Buttons and
Functions. However I am unsure if <script> and </script> are well
positioned.
CJ I will appreciate it if you post a Comment on what else I can do to
improve a Code for Book Library Project for it to run correct.
…On Wed, 23 Apr 2025, 18:20 CJ Yuan, ***@***.***> wrote:
*cjyuan* left a comment (CodeYourFuture/Module-Data-Flows#220)
<#220 (comment)>
You app still would not run. Your changes does not address my feedback.
Please refer to my previous feedback left in your code.
—
Reply to this email directly, view it on GitHub
<#220 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVFFPRX3JAWDQ3UQW7WETST227DUNAVCNFSM6AAAAAB3WODPXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMRVGAYDGOBXGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I left you two specific comments: In your Which part of the comment do you not understand? |
Don't update |
Dear CJ,
I am not sure where to place additional <script> tag for Script.js for a
Book Library App to work properly.
In my script.js it seems like <script> and </script> are generating an
error when positioned on lines 1 and 104 althought AI test suggest
otherwise and places them on lines 1 and 104. I can't see where am I making
an error with <script> tag. It seems like I keep overlooking it. Its why I
run AI test which opens an App. The code itself still doesn't have <script>
in correct place its just myself I don't know where to implement.
Perhaps I didn't get the first part of your Comment correct as I explained
the second part with lines 1 and 104. CJ can you suggest anything so I can
complete Step 4 with your Comment.
…On Wed, 23 Apr 2025, 18:50 CJ Yuan, ***@***.***> wrote:
*cjyuan* left a comment (CodeYourFuture/Module-Data-Flows#220)
<#220 (comment)>
Don't update Book Library.html. Make change in index.html and script.js.
—
Reply to this email directly, view it on GitHub
<#220 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVFFPRXNC6QCCXKZCZWHO6D227HFZAVCNFSM6AAAAAB3WODPXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMRVGA3TIOBQGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
How do we include JS code in a file named Feed your JS code to ChatGPT to see if ChatGPT can point out the error in your code. |
You only need to delete 2 lines of code from You only need to add one tag to |
Dear CJ,
I tested Script.js with Chat GPT like you suggested for me to test my
Script.js ChatGPT corrected one line and displayed a fixed version of
Script.js I included this version of Script.js in GitHub Pull Request #220.
Now I will do same with Index.html I will test it with Chat GPT to find
corrected code for Index.html and I will post it on GitHub Pull Request
#220.
Kind Regards,
Pawel Broilo
…On Wed, 23 Apr 2025 at 19:21, CJ Yuan ***@***.***> wrote:
*cjyuan* left a comment (CodeYourFuture/Module-Data-Flows#220)
<#220 (comment)>
You only need to delete 2 lines of code from script.js for it to work.
(You deleted the wrong code)
You only need to add one tag to index.html for it to work.
—
Reply to this email directly, view it on GitHub
<#220 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVFFPRRJWDYY244PM3EJGDT227K2RAVCNFSM6AAAAAB3WODPXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMRVGE2DINBXGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Well, can you delete "<script>" and "</script>" from Then next you will just need to include JS code to your HTML using a <script src="..."> tag. |
Hi CJ,
I just deleted both <script> and </script> from script.js
I included external File Script.js in HTML.
I hope its sufficient for Code Your Future.
Kind Regards,
Pawel Broilo
…On Wed, 23 Apr 2025, 19:32 CJ Yuan, ***@***.***> wrote:
*cjyuan* left a comment (CodeYourFuture/Module-Data-Flows#220)
<#220 (comment)>
Well, can you delete "<script>" and "</script>" from script.js?
Then next you will just need to include JS code to your HTML using a
<script src="..."> tag.
—
Reply to this email directly, view it on GitHub
<#220 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVFFPRWMA2NLIRI77XLCLM3227MC7AVCNFSM6AAAAAB3WODPXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMRVGE3DONZYGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Learners, PR Template
Self checklist
Changelist
Briefly explain your PR.
I completed corrections for Book Library with Java Script. Files Index.html and script.js are included in Debugging/Book Library Folder in Book Library Project Folder.
Questions
Ask any questions you have for your reviewer.