Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren+ 3
Challange->Child name generator!
Can you code this challenge? Title: Child Name Generator Create a program that generates a name based on a query asked by the user. For example, the user could enter an alphabet like 'A', an origin like 'Spain', 'Egypt', profession like 'Scientist', or theme like 'Flower' and your program should output names that match the query like [Alisha, Abigail ...], [Alejandro, Miguel ...], [Seth, Osiris ...], [Lily, Rose ...] respectively. Hope you understood happy coding and enjoy 🎉🎉🎊🎊
9 Antworten
+ 5
I tried some basic name generation but the names turn out to be a mix of african and alien. XD
https://code.sololearn.com/WE7makCDgRn1/#
Some examples :D
Sir Xafesa Munmepala
Muhufa Wumdo
Wi Wu
Mr. Nurrameala Culudolam
EDIT:
Version two, danish edition:
https://code.sololearn.com/W9a5uDyHquP1/#js
Mrs. Prim Kmemth'elt
Krip-Krith Kmavtgluth
Mrs. Glipporst Hremt
Znehn Flart
Glyrn Quust
+ 2
your code should generate logical name randomly without storing names but if you want you can store some names
+ 2
nooowww you think it can be lil illogical but it should not be completed illogical
+ 2
Update your browser :P
+ 2
On your mobile phone? Maybe update iOS or your Android or chrome/safari then. I'm using relatively new javascript features, that's why you get an error
+ 2
No. On android it uses a android.webkit.WebView, on iOS a UIWebView. On desktop it uses an <iframe>. It very much depends on your os/browser
+ 1
@schindlabua there is error in line number 18 so code is not running
0
I m using sololearn browser
0
bro it doesn't depend on my os it depends on sololearn's browser