From 328bbd99abe58cd5ecc3ce06b19e70cec43f0be0 Mon Sep 17 00:00:00 2001 From: mekcherie Date: Tue, 29 Jun 2021 15:58:02 -0700 Subject: [PATCH] Update content.md --- P03-Generating-Passwords/content.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/P03-Generating-Passwords/content.md b/P03-Generating-Passwords/content.md index 73c9a41..f0e6fcb 100755 --- a/P03-Generating-Passwords/content.md +++ b/P03-Generating-Passwords/content.md @@ -53,6 +53,8 @@ Define a new React component in this file. ```JavaScript import React, { useState } from 'react' +add the term "function" before generatePassword becuase we need to define it, that it's a function other wise it will throw out an error + generatePassword() { // generate a password here console.log("generating password")