Random Name and Info Generator
mamamia5x (43)

Just like it says. I'm a noob to HTLM5, JS, HTLM, and CSS.

You are viewing a single comment. View All
ChezCoder (28)

holy code! That is a lot of code!
Suggestion: To make your HTML code cleaner, why don't you use event listeners and add a CSS file?

HTML:
<link href='THE_LINK.css' rel='stylesheet' type='text/css'>
(paste the CSS in the .css file)

JavaScript:
document.getElementsByClassName('button')[0].addEventListener('click',male)
document.getElementsByClassName('button1')[0].addEventListener('click',female)
(Because you have event listeners, I recommend you place the script file after the buttons or there will be an error.)

Hope you find this useful! :)

EDIT: You say you are bad at HTML, CSS and JavaScript. You don't look like it... but if you need some help, just contact me and I will be happy to help :)

mamamia5x (43)

@ChezCoder Yeah thanks! That sounds really good. Just go to the repl.it I sent you.