@Odrunia-Mark-Ryan
Upon code review, I've noticed a couple of lines of codes that could be better.
Although these suggestions aren't mandatory, they could contribute to better
code quality and adherence to best practices. Feel free to implement these changes
if you find them beneficial.
FIRST SUGGESTED CHANGE
origin
|
<link rel="stylesheet" href="./styles.css" /> |
suggested change
<link rel="stylesheet" href="styles.css" />
reason for suggestion: by using the suggested change version, you create more
concise and cleaner code, making it easier for others to understand and maintain
your code. Additionally, it helps avoid any confusion that might arise from specifying
the current directory unnecessarily.
SECOND SUGGESTED CHANGE
Avoid using <br>
|
degree in Information Technology.</p><br> |
|
<b>Christian Harrel Go</b><br /> |
|
<b>Jhean Khendrick Galope</b><br /> |
|
<b>Andronicus Dimasacat</b><br /> |
|
<h1>Leave a comment</h1><br> |
I noticed u used <b>
and <em>
a lot.
I recommend that u wrap them in a <p>
refer to this article about block and inline elements.
THIRD SUGGESTED CHANGE
comment section seems to accept blank spaces for your input and textarea.
|
if (name.value.length > 0 && txtarea.value.length > 0) { |
this change could be enough to fix it.
if(name.value.trim().length > 0 && txtarea.value.trim().length > 0)
refer to trim() here
These are the minor issues I would to point out. Again, these suggestions aren't mandatory, but they could contribute to better
code quality and adherence to best practices.
THANK YOU!