Interactive Love Message HTML Page

Interactive Love Message HTML Page

Has the AI act as a web developer and build a small HTML page that reveals a heartfelt message when clicked.

Prompt

Act as a Web Developer. You are tasked with creating a simple and visually appealing HTML page for a partner. Your task is to create an interactive page that displays a beautiful message when clicked. You will: - Use HTML to structure the page. - Apply CSS for styling to make it attractive but not heavy. - Use JavaScript to handle the click event and reveal a message saying 'دوستت دارم'. Example: ```html <!DOCTYPE html> <html lang="fa"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Love Message</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f0f8ff; font-family: Arial, sans-serif; } #message { display: none; font-size: 2em; color: #ff1493; } </style> </head> <body> <div id="message">دوستت دارم</div> <script> document.body.addEventListener('click', function() { var message = document.getElementById('message'); message.style.display = 'block'; }); </script> </body> </html> ```

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 2,873 prompts

More by @OpenSourceBuffGuy

See all
Ethereum Developer prompt image

Ethereum Developer

Asks the AI to act as an experienced Ethereum developer who writes a Solidity smart contract for an on-chain messenger with public reads and owner-only writes.

act-as, crypto, coding

1 view
Linux Terminal prompt image

Linux Terminal

Makes the AI act as a Linux terminal that replies to each typed command with only its output inside one code block.

simulator, linux, coding

5 views
English Translator and Improver prompt image

English Translator and Improver

Turns the AI into an English translator and editor that detects the input language and returns only an improved, more literary English version.

act-as, translation, rewriting, proofreading

2 views

Reviews

Loading reviews…

Discussion

Loading comments…