From the course: ChatGPT for Web Developers

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Build a password generator

Build a password generator - ChatGPT Tutorial

From the course: ChatGPT for Web Developers

Build a password generator

- [Instructor] In this module, we build web applications by using ChatGPT, and the first example that we create is a tool to generate secure and strong passwords, which is essential to protect the access to your personal information. So let's go to ChatGPT, and we're going to ask, "Create a password generator in JavaScript." Okay, so it's going to give us first the code snippet and then an explanation as to how to use it followed by an example. So we need to call this function "Generate password" and then specify the length, I believe, yeah, the length. Include lowercase. Include uppercase. So we just need to use those parameters as settings, so the way that we want the password to be generated, and final step, we're going to console log the password. So it is also telling us that this is not the perfect answers, but this is a starting point and there is room for improvement. So let's begin by copying this code snippet.…

Contents