Handle Generate Password in App.js

Open
#12 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start in App.js and locate the password-generation controls, the createPassword call, and the existing notification behavior. Implement the handleGeneratePassword flow described in the issue, including the no-character-selection error and selected character groups, then verify that generation and notification work for each selection case.

Written by the indexing model from the issue text.

Description

hacktoberfest

This issue should be resolved by creating handleGeneratePassword that:

if
not includeUpperCase and not includeLowerCase and not includeNumbers and not includeSymbols
then notify error

else
let characterList = ""
if includeNumbers is true
characterList = characterList + numbers
if includeUpperCase is true
characterList = characterList + upperCaseLetters
.
.
.
Set Password createPassword pass characterList
notify

Dominant language
JavaScript
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from githubcrce/PasswordGenerator

All issues in githubcrce/PasswordGenerator

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.