/    Sign up×
Community /Pin to ProfileBookmark

Random name generator

Hi,
I’m new to JavaScript and this forum. I want to write a basic random name generator which will produce a name consisting of one first name (male/female is optional) and a double-barrelled surname in a single results box. I can fill in all the name data myself if it is made clear where this needs to go. If anybody can provide the basic code or point me to a site which provides it I would be very grateful.

Many thanks
Richard

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundryApr 13.2003 — You're in luck. I've done a script for you, which you can find at:

http://www.agbs.co.uk/dev/names.html

In the lines starting like "var FirstName", change the names there or add names seperated by commas and surrounded in quotes.

Adam
Copy linkTweet thisAlerts:
@thoughtcatauthorApr 17.2003 — Adam - big thanks for doing that! I owe you one,

Cheers

Richard
×

Success!

Help @thoughtcat spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...