Fake name Genarater

/80382945dab298bc311181b31af0e8fa.js'> Fake Name Generator

Fake Name Generator

CSS (style.css):body { font-family: Arial, sans-serif; background-color: #f0f0f0; display: flex; align-items: center; justify-content: center; height: 100vh; margin: 0; } .container { text-align: center; background-color: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } button { padding: 10px 20px; font-size: 16px; cursor: pointer; }JavaScript (script.js):const generateName = () => { const fakeNames = [ 'John Doe', 'Jane Smith', 'Alex Johnson', 'Emily Brown', 'Chris Davis', // Add more names as needed ]; const randomIndex = Math.floor(Math.random() * fakeNames.length); const generatedName = fakeNames[randomIndex]; document.getElementById('generatedName').innerText = generatedName; };This is a simple example. You can expand the list of names or include more details in the generator based on your requirements. Also, note that this is purely for educational purposes and creating realistic fake names should be done responsibly and ethically.

Comments

Popular Posts