gpt-4o-2024-08-06· OpenAI
WildChat-4.8M (AI2)
Create a professional, visually appealing, and well-styled HTML code for the…
- User
User: Create a professional, visually appealing, and well-styled HTML code for the following request: "Напиши сайт по продаже мороженного" Make sure the HTML code contains:
- A bright and attractive design.
- Large and clear text.
- Beautiful and modern styles.
- Professional layout and structure.
- All styles and scripts should be included in one HTML file.
- Write styles for the site as short as possible Do not include any comments or explanations in the modified HTML code. The generated HTML code should be clean and contain only the necessary code with no additional comments or unnecessary text. Focus on accurately conveying the required generation. Avoid descriptive text, explanations, or anything unrelated to the required generations.
Assistant:
<div class="product-card"> <img src="https://via.placeholder.com/200x200?text=Клубничное" alt=""> <h2>Клубничное мороженое</h2> <p>Освежающее клубничное лакомство!</p> <div class="price">150 ₽</div> <button>Купить</button> </div> <div class="product-card"> <img src="https://via.placeholder.com/200x200?text=Шоколадное" alt=""> <h2>Шоколадное мороженое</h2> <p>Насыщенный шоколад</html>User: Modify the following HTML element according to the user's request and looking at the generated site: "Докончи сайт до конца"
Ensure the modification is relevant to the user's request while keeping the style and theme consistent with the original element. Do not include any comments or explanations in the modified HTML code. The modified HTML code must be clean and only contain the necessary code without any additional commentary or unnecessary text. Focus on delivering the requested changes in a precise manner. Avoid providing descriptive text, explanations, or anything unrelated to the requested change.Assistant:
- Assistant
<!DOCTYPE html> <html lang="ru"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Магазин Мороженого</title> <style> * {margin: 0; padding: 0; box-sizing: border-box;} body {font-family: Arial, sans-serif; background-color: #f7f9fc; color: #333;} header {background-color: #ff69b4; text-align: center; padding: 20px;} h1 {font-size: 3em; color:#fff;} .container {max-width: 1200px;margin:auto;padding-top:40px;text-align:center} .product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px} .product-card{background:#fff;border-radius:.5em;padding:.5em;text-align:center;border:.2em solid #ff69b4} img{width:auto;height:auto;margin-bottom:.5em;border-radius:.3em;width:max(200px,90%)} h2,p,.price{margin-bottom:.8em;font-size:max(1.2rem,.9vw)} button{padding:.6rem 1.4rem;background:#ff69b4;color:white;border:none;border-radius:.3rem;font-size:max(1.2rem,.9vw);cursor:pointer} </style> </head> <body> <header><h1>Магазин Мороженого</h1></header> <div class="container"> <div class="product-grid"> <div class="product-card"> <img src="https://via.placeholder.com/200x200?text=Клубничное" alt=""> <h2>Клубничное мороженое</h2> <p>Освежающее клубничное лакомство!</p> <div class="price">150 ₽</div> <button>Купить</button> </div> <div class="product-card"> <img src="https://via.placeholder.com/200x200?text=Шоколадное" alt=""> <h2>Шоколадное мороженое</h2> <p>Насыщенный шоколадный вкус.</p> <div class="price">180 ₽</div> <button>Купить</button> </div> <div class="product-card"> <img src="https://via.placeholder.com/200x200?text=Ванильное" alt=""> <h2>Ванильное мороженое</h2> <p>Классический вкус ванили.</p> <div class="price">160 ₽</div> <button>Купить</button> </div> <div class="product-card"> <img src="https://via.placeholder.com/200x200?text=Фисташковое" alt=""> <h2>Фисташковое мороженое</h2> <p>Необычный вкус фисташек.</p> <div class="price">190 ₽</div> <button>Купить</button> </div> </div> </div> </body> </html>