Skip to content
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

Charles #16

Merged
merged 3 commits into from
Apr 10, 2024
Merged

Charles #16

merged 3 commits into from
Apr 10, 2024

Conversation

CharlesLedwaba
Copy link
Collaborator

No description provided.

mmpotulo28 and others added 3 commits April 2, 2024 20:29
Merge pull request #2 from CPUT-DEVS/charles
update project structure
and a login.html and styleAuth.css to support the html files
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @CharlesLedwaba - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 4 issues found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Docstrings: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

<label for="terms">I agree to these <a href = "#">Terms & Conditions </a> </label>

</div>
<button type="submit">Sign Up</button>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (bug_risk): Button placement outside form may cause submission issues.

Consider moving the 'Sign Up' button inside the

tags to ensure proper form submission behavior.

</div>

</form>
<button type="submit">Sign Up </button>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (typo): Incorrect button label in login form.

The button in the login form is labeled 'Sign Up' instead of 'Log in'. This should be corrected to avoid user confusion.

@@ -0,0 +1,87 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (performance): Consider local font hosting for performance and reliability.

Using an external link for fonts can introduce dependencies on third-party servers. Hosting fonts locally might improve load times and reliability.

Comment on lines +22 to +23
<label for="confirmPassword">Confirm Password:</label>
<input type="password" id="confirmPassword" name="confirmPassword" required>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (code_refinement): No client-side password confirmation logic.

While the form includes a field for confirming the password, there's no visible client-side logic to verify that the two passwords match before submission. Implementing this could improve user experience by catching mismatches before submission.

@mmpotulo28 mmpotulo28 merged commit f05acc5 into main Apr 10, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants