xmohammedawad / generatepassword Goto Github PK
View Code? Open in Web Editor NEW- scrimba js challenge - from figma design and using JavaScript, I created a random password generator.
Home Page: https://muhmmadawd.github.io/generatePassword
- scrimba js challenge - from figma design and using JavaScript, I created a random password generator.
Home Page: https://muhmmadawd.github.io/generatePassword
update the style with css grid
Firstly, it looks like the array characters is commented out. Is this intentional? If not, you'll need to uncomment it to make use of it in the createRandomPasswords function.
Next, I noticed that the checkGeneratedPassWord function sets the disabled attribute on the generatePasswordEl element to false if the passwordOne length is greater than 10. This should actually be set to true to disable the button, as you don't want to generate a password if the first password is already longer than the allowed length.
I would also recommend setting a default value for the passwordOne and passwordTwo variables to prevent any errors that may occur if they are referenced before being assigned a value.
Lastly, it's good practice to wrap your code in a DOMContentLoaded event listener to ensure that the DOM has fully loaded before your JavaScript runs.
update readme with our readme template
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.