Open
Conversation
…update an array of post objects and a seperate render functon should produce the page from that object seperately.
…remove individual posts
…through all existing comments and adds duplicates.
greypants
reviewed
Nov 21, 2024
…ate for comments under subsequent posts. Also refacotor to localise the comment render only to the post in which the comments are added.
…ut fields resets the entire page html
…ifferen sections of the page.
…iate sections on and off. Comment section and Udpate Post section will both toggle off the Add Post Form, and they will each toggle one another on and off (while keeping the Add Post Form toggled off). When both the comment section and update post section are toggled off, the Add Post form returns.
… to use arrow function syntax
| @@ -0,0 +1,15 @@ | |||
| .show { | |||
There was a problem hiding this comment.
almost all these classes you could have used bootstrap classes
d-none, d-block, or text-danger
Comment on lines
+61
to
+62
| !document.getElementById("name").value || | ||
| !document.getElementById("message").value |
There was a problem hiding this comment.
dry!, this can be moved to a function
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.