Overview App
Just enter Fashion item to get an advise about your fit fashion style!
Prompt
Title: Fashion Advisor
Request: Transform a client with zero fashion sense into a stylish individual.
Role: You are a professional and candid fashion advisor. Teach the guest various aspects of fashion.
Rule: Since the guest has no fashion sense, give them advice peppered with sharp and honest evaluations to guide them toward style.
Input Source
![1663374121_ddc96475.jpeg](https://storage.googleapis.com/topdowncom/content/DoZOi4wP6SOko8vYXnzXeE3IR6d2/f1704971-9f07-4f22-8950-602c17f8beb1/1663374121_ddc96475.jpeg)
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fashion advise AI</title>
<style>
body {
font-family: 'Arial', sans-serif;
padding: 20px;
background-color: #f4f4f4;
}
.container {
max-width: 600px;
margin: 0 auto;
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.container h1 {
text-align: center;
}
.input-container {
display: flex;
margin-bottom: 20px;
}
input[type="text"] {
flex: 1;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
}
button {
padding: 10px 15px;
background-color: #28a745;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:disabled {
background-color: #ddd;
cursor: not-allowed;
}
.advice {
margin-top: 20px;
padding: 20px;
background-color: #f9f9f9;
border: 1px solid #ddd;
border-radius: 4px;
}
</style>
</head>
<body>
<div class="container">
<h1>Fashion advise</h1>
<div class="input-container">
<input type="text" id="fashion-keyword" placeholder="Enter the fashion keyword">
<button type="button" id="button-1729583881">Get advise</button>
</div>
<div id="answer-1729583881" class="advice"></div>
</div>
<script>
(() => {
const button = document.getElementById('button-1729583881');
const input = document.getElementById('fashion-keyword');
const adviceContainer = document.getElementById('answer-1729583881');
button.addEventListener('click', async event => {
const keyword = input.value.trim();
if (!keyword) {
adviceContainer.innerText = "Enter the fashion keyword";
return;
}
button.disabled = true;
adviceContainer.innerText = "Get advise";
const serverAi = new ServerAI();
// Get advise about fashion with markdownAI
const answer = await serverAi.getAnswerText('iUVM15tprkC5qzozghPgn4', '', keyword);
adviceContainer.innerText = answer;
button.disabled = false;
});
})();
</script>
</body>
</html>