Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Random Name Generator

Key Requirements:

  1. add names to a name pool

  2. generate a random name

  3. remove a name from the name pool

  4. Add Name: input, button take in user name input and save it to a name array

  5. Generate a random name: button, text tag Call random name function use Math.random to get random number 0 and name array length use random number as an index for our name array return our name Set text tags to our random name

  6. Remove a name: button Take in name input and get its index within our name array use .splice to remove that element

To do: **Add styling

About

Learning - JavaScript

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages