id stringlengths 16 16 | language stringclasses 3
values | category stringclasses 38
values | question stringlengths 2 1.96k | answer stringlengths 1 1.46k | messages listlengths 2 2 | teacher stringclasses 5
values | batch stringclasses 20
values | source stringclasses 677
values | used_in_chat stringclasses 3
values | tokens int64 8 849 |
|---|---|---|---|---|---|---|---|---|---|---|
a9d4ce115d9ad2fe | en | code_html | give me a page with a button that shows a new random quote each time you click it | This page shows a quote and puts a new random one up each time you press the button.
```html
<!DOCTYPE html>
<html>
<head>
<title>Random Quote</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; margin-top: 40px; }
blockquote { font-size: 22px; font-style: italic; max-width: 400px; margin: 20px a... | [
{
"role": "user",
"content": "give me a page with a button that shows a new random quote each time you click it"
},
{
"role": "assistant",
"content": "This page shows a quote and puts a new random one up each time you press the button.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>Random Quo... | glm-5.3-flash | qa-v1 | train | 354 | |
711c0686e15a4d2e | en | code_html | need a page with a progress bar that fills up when i click a button pls | This page has a button that fills the progress bar to 100%.
```html
<!DOCTYPE html>
<html>
<head>
<title>Progress Bar</title>
<style>
#bar {
width: 300px;
height: 30px;
border: 2px solid #444;
border-radius: 8px;
}
#fill {
width: 0%;
height: 100%;
background: limegreen;
transition:... | [
{
"role": "user",
"content": "need a page with a progress bar that fills up when i click a button pls"
},
{
"role": "assistant",
"content": "This page has a button that fills the progress bar to 100%.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>Progress Bar</title>\n<style>\n #bar {\n ... | glm-5.3-flash | qa-v1 | train | 275 | |
fa5f5e33d88d6236 | en | code_html | html page with a button that changes the background to a random color plz | Each click paints the whole page background in a random color.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Random color</title>
<style>
body { font-family: sans-serif; text-align: center; padding-top: 100px; }
button { padding: 12px 24px; font-size: 16px; }
</style>
</head>
<body>
<h1>Pick a ran... | [
{
"role": "user",
"content": "html page with a button that changes the background to a random color plz"
},
{
"role": "assistant",
"content": "Each click paints the whole page background in a random color.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>Random color</... | glm-5.3-flash | qa-v1 | train | 273 | |
00fbab4c8367131f | en | code_html | how about a button that changes the background to a random color | This page changes the background to a random color every time you click the button.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Random color</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; padding-top: 100px; }
button { padding: 12px 24px; font-size: 16px... | [
{
"role": "user",
"content": "how about a button that changes the background to a random color"
},
{
"role": "assistant",
"content": "This page changes the background to a random color every time you click the button.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\"... | glm-5.3-flash | qa-v1 | train | 328 | |
bb7feb234425753b | en | code_html | i want a page about my dog rocky, he is 4 and loves fetch | This page introduces your dog Rocky with a short line and three fun facts.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My Dog</title>
<style>
body { font-family: Georgia, serif; background: #fdf6e3; max-width: 600px; margin: 0 auto; padding: 30px; }
h1 { color: #b5651d; }
.fact { backgroun... | [
{
"role": "user",
"content": "i want a page about my dog rocky, he is 4 and loves fetch"
},
{
"role": "assistant",
"content": "This page introduces your dog Rocky with a short line and three fun facts.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>My Dog</title>\n<s... | glm-5.3-flash | qa-v1 | train | 325 | |
8e7c8d0a50b299c3 | en | code_html | celsius to fahrenheit converter page? | This page takes degrees Celsius and prints the Fahrenheit value when you press the button.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Celsius to Fahrenheit</title>
<style>
body { font-family: sans-serif; max-width: 320px; margin: 40px auto; }
input, button { width: 100%;... | [
{
"role": "user",
"content": "celsius to fahrenheit converter page?"
},
{
"role": "assistant",
"content": "This page takes degrees Celsius and prints the Fahrenheit value when you press the button.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <title>Celsiu... | hy4-preview | qa-v1 | train | 403 | |
c0848eea06df56e3 | en | code_html | pls make a stopwatch with start stop and reset buttons | This page runs a stopwatch with tenths of a second, plus Start, Stop and Reset buttons.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Stopwatch</title>
<style>
body { font-family: sans-serif; }
#time { font-size: 40px; }
</style>
</head>
<body>
<h1>Stopwatch</h1>
<div id="time">0.0 s</div>
<butto... | [
{
"role": "user",
"content": "pls make a stopwatch with start stop and reset buttons"
},
{
"role": "assistant",
"content": "This page runs a stopwatch with tenths of a second, plus Start, Stop and Reset buttons.\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>Stopwa... | hy4-preview | qa-v1 | train | 454 | |
e676c31bddc00512 | en | code_html | can you code a character counter for a textarea? | This page counts the characters you type in the box.
```html
<!DOCTYPE html>
<html>
<head>
<title>Character Counter</title>
<style>
body { font-family: Arial, sans-serif; margin: 30px; }
textarea { width: 300px; height: 120px; font-size: 16px; }
#count { color: gray; }
</style>
</head>
<body>
<h2>Character Counte... | [
{
"role": "user",
"content": "can you code a character counter for a textarea?"
},
{
"role": "assistant",
"content": "This page counts the characters you type in the box.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>Character Counter</title>\n<style>\n body { font-family: Arial, sans-serif... | glm-5.3-flash | qa-v1 | train | 269 | |
437aa3767ac5353a | en | code_html | write a simple page with a big heading and a nicely styled paragraph | This page shows a big heading above a styled paragraph on a soft background.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My Page</title>
<style>
body { font-family: Georgia, serif; background: #fdf6e3; margin: 0; }
.box { max-width: 600px; margin: 40px auto; padding: 20px; }
h1 {... | [
{
"role": "user",
"content": "write a simple page with a big heading and a nicely styled paragraph"
},
{
"role": "assistant",
"content": "This page shows a big heading above a styled paragraph on a soft background.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n... | glm-5.3-flash | qa-v1 | train | 284 | |
20f14dfd39b355ce | en | code_html | write me a button that changes the background to a random color | This page has a button that paints the background a new random color every time you click it.
```html
<!DOCTYPE html>
<html>
<head>
<title>Random Background</title>
<style>
body {
font-family: Arial;
text-align: center;
padding-top: 200px;
}
button { font-size: 20px; padding: 10px 20px; }
</style>
</h... | [
{
"role": "user",
"content": "write me a button that changes the background to a random color"
},
{
"role": "assistant",
"content": "This page has a button that paints the background a new random color every time you click it.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>Random Background</... | glm-5.3-flash | qa-v1 | train | 312 | |
b5d823950d2161fa | en | code_html | can i get a pricing table with three plans | This page is a pricing table comparing three plans across four rows.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Pricing Plans</title>
<style>
body { font-family: sans-serif; margin: 40px; }
table { border-collapse: collapse; }
th, td { border: 1px solid #ccc; padding: 10px 16... | [
{
"role": "user",
"content": "can i get a pricing table with three plans"
},
{
"role": "assistant",
"content": "This page is a pricing table comparing three plans across four rows.\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"utf-8\">\n <title>Pricing Plans</title>\n <style>\... | hy4-preview | qa-v1 | train | 475 | |
51cb61195fccced1 | en | code_html | write a page with a login form centered in the middle, just the look, no backend | This page shows a login form centered on the screen, with no backend behind it.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Login</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
background: #eef2f7;
display: flex;
justify-content: center;
ali... | [
{
"role": "user",
"content": "write a page with a login form centered in the middle, just the look, no backend"
},
{
"role": "assistant",
"content": "This page shows a login form centered on the screen, with no backend behind it.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta chars... | glm-5.3-flash | qa-v1 | train | 496 | |
0e798eeeb26144dd | en | code_html | need a shopping list app where you can cross things off | This page shows a short shopping list where clicking an item crosses it out.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Shopping List</title>
<style>
body { font-family: Arial, sans-serif; max-width: 400px; margin: 40px auto; }
li { cursor: pointer; font-size: 18px; padding: 6px; }
li.don... | [
{
"role": "user",
"content": "need a shopping list app where you can cross things off"
},
{
"role": "assistant",
"content": "This page shows a short shopping list where clicking an item crosses it out.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>Shopping List</tit... | glm-5.3-flash | qa-v1 | validation | 360 | |
6e09765f5bd21561 | en | code_html | hey can u make me a simple restaurant menu page with prices | This page is a restaurant menu with prices in euros.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Mario's Kitchen - Menu</title>
<style>
body { font-family: sans-serif; margin: 40px; }
h1 { color: #b03030; }
li { padding: 6px 0; }
.price { font-weight: bold; }
</style>
</... | [
{
"role": "user",
"content": "hey can u make me a simple restaurant menu page with prices"
},
{
"role": "assistant",
"content": "This page is a restaurant menu with prices in euros.\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"utf-8\">\n <title>Mario's Kitchen - Menu</title>\n... | hy4-preview | qa-v1 | train | 449 | |
7337a80a145807fc | en | code_html | number guessing game from 1 to 100 html | This game picks a random number from 1 to 100 and tells you if your guess is too low or too high.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Guess the Number</title>
<style>
body { font-family: Arial, sans-serif; margin: 40px; }
input, button { font-size: 16px; padding: 6px; }
#msg { ... | [
{
"role": "user",
"content": "number guessing game from 1 to 100 html"
},
{
"role": "assistant",
"content": "This game picks a random number from 1 to 100 and tells you if your guess is too low or too high.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<title>G... | beam-free | qa-v1 | train | 366 | |
b0402ead544f7a29 | en | code_html | make me a coming soon page for my site | This page shows a short coming soon message on a dark blue background.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Coming Soon</title>
<style>
body { font-family: sans-serif; background: #1d3557; color: #fff; text-align: center; padding: 120px 20px; }
h1 { font-size: 40p... | [
{
"role": "user",
"content": "make me a coming soon page for my site"
},
{
"role": "assistant",
"content": "This page shows a short coming soon message on a dark blue background.\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <title>Coming Soon</title>\n ... | hy4-preview | qa-v1 | train | 289 | |
0c89932febc4b07f | en | code_html | need a little text box that counts characters as i type | This page counts the characters in a text box and shows the number live as you type.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Character counter</title>
<style>
body { font-family: Arial, sans-serif; padding: 30px; }
textarea { width: 300px; height: 120px; font-size: 16px; }
</st... | [
{
"role": "user",
"content": "need a little text box that counts characters as i type"
},
{
"role": "assistant",
"content": "This page counts the characters in a text box and shows the number live as you type.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<titl... | glm-5.3-flash | qa-v1 | train | 273 | |
2b9b0be09f492041 | en | code_html | write a page with a light swtich that turns a circle yellow | This page has a gray circle that turns yellow when you press the button.
```html
<!DOCTYPE html>
<html>
<head>
<title>Light switch</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; margin-top: 60px; }
#bulb { width: 100px; height: 100px; border-radius: 50%; background: #ccc; margin: 20px au... | [
{
"role": "user",
"content": "write a page with a light swtich that turns a circle yellow"
},
{
"role": "assistant",
"content": "This page has a gray circle that turns yellow when you press the button.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>Light switch</title>\n<style>\n body { font... | glm-5.3-flash | qa-v1 | train | 297 | |
0eb9c3b8dcffe82d | en | code_html | make a website about my dog | This is a small page about Buddy the dog with three fun facts on soft cards.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My Dog</title>
<style>
body { font-family: sans-serif; max-width: 500px; margin: 30px auto; padding: 0 15px; }
h1 { color: #6b4f2a; }
.fact {
background: #f7f1e3;
... | [
{
"role": "user",
"content": "make a website about my dog"
},
{
"role": "assistant",
"content": "This is a small page about Buddy the dog with three fun facts on soft cards.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>My Dog</title>\n<style>\n body { font-family:... | glm-5.3-flash | qa-v1 | train | 303 | |
99223b71bb5fb3db | en | code_html | need a timeline of 5 events for a school project, vertical one | This page shows five space events as a vertical timeline with a blue line down the left side.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Timeline</title>
<style>
body { font-family: sans-serif; margin: 40px; }
ul { list-style: none; border-left: 3px solid #2b7cff; paddi... | [
{
"role": "user",
"content": "need a timeline of 5 events for a school project, vertical one"
},
{
"role": "assistant",
"content": "This page shows five space events as a vertical timeline with a blue line down the left side.\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta chars... | hy4-preview | qa-v1 | train | 398 | |
616573e94bc4d5f5 | en | code_html | a page that greets you by the name you type | This page greets you with the name you type in.
```html
<!DOCTYPE html>
<html>
<head>
<title>Greeting</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; margin-top: 60px; }
input { padding: 8px; }
button { padding: 8px 16px; }
</style>
</head>
<body>
<h2>What is your name?</h2>
<input ... | [
{
"role": "user",
"content": "a page that greets you by the name you type"
},
{
"role": "assistant",
"content": "This page greets you with the name you type in.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>Greeting</title>\n<style>\n body { font-family: Arial, sans-serif; text-align: cente... | glm-5.3-flash | qa-v1 | train | 317 | |
a315d486be78d919 | en | code_html | hey can you write a calculator that just adds 2 numbers i type into two boxes | It takes the two numbers you type and prints the sum under the button.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Add two numbers</title>
</head>
<body>
<h1>Adder</h1>
<input id="a" type="number" placeholder="First number">
<input id="b" type="number" placeholder="Second nu... | [
{
"role": "user",
"content": "hey can you write a calculator that just adds 2 numbers i type into two boxes"
},
{
"role": "assistant",
"content": "It takes the two numbers you type and prints the sum under the button.\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf... | hy4-preview | qa-v1 | train | 301 | |
c770be3a23ddf645 | en | code_html | need a table of the planets in order from the sun, thanks | This page shows a table of the eight planets in order from the Sun, with their average distance in millions of kilometers.
```html
<!DOCTYPE html>
<html>
<head>
<title>Planets</title>
<style>
body { font-family: Arial, sans-serif; margin: 30px; }
table { border-collapse: collapse; }
th, td { border: 1px solid #99... | [
{
"role": "user",
"content": "need a table of the planets in order from the sun, thanks"
},
{
"role": "assistant",
"content": "This page shows a table of the eight planets in order from the Sun, with their average distance in millions of kilometers.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<ti... | glm-5.3-flash | qa-v1 | train | 478 | |
2e62f8ee4b1f531f | en | code_html | can you make a landing page for my little cafe? it needs the opening hours on it | This is a simple landing page for a small cafe, with the opening hours in a table.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Sunny Cafe</title>
<style>
body { font-family: sans-serif; margin: 0; text-align: center; color: #333; }
header { background: #6b4f2a; color: #fff; padding: 40px 0; ... | [
{
"role": "user",
"content": "can you make a landing page for my little cafe? it needs the opening hours on it"
},
{
"role": "assistant",
"content": "This is a simple landing page for a small cafe, with the opening hours in a table.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-... | glm-5.3-flash | qa-v1 | train | 451 | |
594fb3b017b9db1e | en | code_html | write a html recipe page pls, ingredients list and numbered steps | This is a recipe page for simple pancakes, with the amounts in a bulleted list and the method as a numbered list.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Pancakes recipe</title>
<style>
body { font-family: Arial, sans-serif; margin: 40px; max-width: 480px; }
h1 { color: #b5651d... | [
{
"role": "user",
"content": "write a html recipe page pls, ingredients list and numbered steps"
},
{
"role": "assistant",
"content": "This is a recipe page for simple pancakes, with the amounts in a bulleted list and the method as a numbered list.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n... | hy4-preview | qa-v1 | train | 509 | |
c60ebfb9c49a8e88 | en | code_html | hey, do a countdown from 10 to 0 in html with a start button, one number per second | This page shows a big number that counts down from 10 to 0 when you press Start.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Countdown</title>
<style>
body { font-family: sans-serif; text-align: center; margin-top: 40px; }
#num { font-size: 60px; }
</style>
</head>
<body>
<h1>Countdown</h1>
... | [
{
"role": "user",
"content": "hey, do a countdown from 10 to 0 in html with a start button, one number per second"
},
{
"role": "assistant",
"content": "This page shows a big number that counts down from 10 to 0 when you press Start.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf... | glm-5.3-flash | qa-v1 | train | 360 | |
3e7fd48111f2e727 | en | code_html | how about a number guessing game from 1 to 100? html please | This game picks a random number from 1 to 100 and tells you whether each guess is too low, too high or correct.
```html
<!DOCTYPE html>
<html>
<head>
<title>Guess the Number</title>
<style>
body { font-family: Arial, sans-serif; margin: 30px; }
#msg { font-weight: bold; }
</style>
</head>
<body>
<h1>Guess the Numbe... | [
{
"role": "user",
"content": "how about a number guessing game from 1 to 100? html please"
},
{
"role": "assistant",
"content": "This game picks a random number from 1 to 100 and tells you whether each guess is too low, too high or correct.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>Guess... | glm-5.3-flash | qa-v1 | train | 403 | |
f9bf934f6f1b44b0 | en | code_html | restaurant menu with the prices next to each dish thx | This page lists starters, mains and desserts, with each price pushed to the right side.
```html
<!DOCTYPE html>
<html>
<head>
<title>Trattoria Sole</title>
<style>
body { font-family: Georgia, serif; padding: 20px; max-width: 560px; margin: auto; }
h1 { text-align: center; }
ul { list-style: none; paddi... | [
{
"role": "user",
"content": "restaurant menu with the prices next to each dish thx"
},
{
"role": "assistant",
"content": "This page lists starters, mains and desserts, with each price pushed to the right side.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n <title>Trattoria Sole</title>\n <style>... | hy4-preview | qa-v1 | train | 444 | |
082c916a078b14b3 | en | code_html | i want a button that makes the page background a random color every time you click it | Each click picks a new red, green and blue value and sets it as the page background.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Random background</title>
<style>
body { font-family: sans-serif; text-align: center; padding: 60px; }
button { padding: 10px 18px; font-size:... | [
{
"role": "user",
"content": "i want a button that makes the page background a random color every time you click it"
},
{
"role": "assistant",
"content": "Each click picks a new red, green and blue value and sets it as the page background.\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\... | hy4-preview | qa-v1 | train | 349 | |
e81618485b2b0aa0 | en | code_html | simple light switch that turns a circle yelow | This page has a gray circle that turns yellow when you press the switch button.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Light Switch</title>
<style>
body { font-family: Arial, sans-serif; margin: 40px; }
#bulb { width: 100px; height: 100px; border-radius: 50%; background: #ccc; mar... | [
{
"role": "user",
"content": "simple light switch that turns a circle yelow"
},
{
"role": "assistant",
"content": "This page has a gray circle that turns yellow when you press the switch button.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<title>Light Switch<... | beam-free | qa-v1 | train | 290 | |
b278a870e576eb8e | en | code_html | i want three cards next to each other but they should stack on a phone | Three cards sit side by side in a responsive grid and drop into one column on narrow screens.
```html
<!DOCTYPE html>
<html>
<head>
<title>Three Cards</title>
<style>
body { font-family: sans-serif; padding: 20px; background: #f4f4f4; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-f... | [
{
"role": "user",
"content": "i want three cards next to each other but they should stack on a phone"
},
{
"role": "assistant",
"content": "Three cards sit side by side in a responsive grid and drop into one column on narrow screens.\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n <title>Three Ca... | hy4-preview | qa-v1 | train | 404 | |
1576035a7822f941 | en | code_html | write me a restaurant menu page with prices | This page is a small restaurant menu with two sections and a price next to each dish.
```html
<!DOCTYPE html>
<html>
<head>
<title>Menu</title>
<style>
body { font-family: Georgia, serif; max-width: 400px; margin: 40px auto; }
h1, h2 { text-align: center; }
li {
display: flex;
justify-content: space-between;
bord... | [
{
"role": "user",
"content": "write me a restaurant menu page with prices"
},
{
"role": "assistant",
"content": "This page is a small restaurant menu with two sections and a price next to each dish.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>Menu</title>\n<style>\nbody { font-family: Geor... | glm-5.3-flash | qa-v1 | train | 354 | |
49b7513c853f6290 | en | code_html | i need a stopwatch with start stop and reset, nothing fancy | This is a stopwatch that counts in tenths of a second, with three buttons.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Stopwatch</title>
<style>
body { font-family: sans-serif; text-align: center; padding: 60px; }
#time { font-size: 40px; margin: 10px; }
button { padding: 8px 14p... | [
{
"role": "user",
"content": "i need a stopwatch with start stop and reset, nothing fancy"
},
{
"role": "assistant",
"content": "This is a stopwatch that counts in tenths of a second, with three buttons.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Stop... | hy4-preview | qa-v1 | train | 446 | |
8a0561de4a727745 | en | code_html | a hello world web page, the simplest one you can do | This is the simplest possible web page, it just says hello.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hello</title>
</head>
<body>
<h1>Hello, world!</h1>
<p>This is my first web page.</p>
</body>
</html>
```
Save it as hello.html and open it in a browser. It shows one big heading and... | [
{
"role": "user",
"content": "a hello world web page, the simplest one you can do"
},
{
"role": "assistant",
"content": "This is the simplest possible web page, it just says hello.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<title>Hello</title>\n</head>\n<bo... | glm-5.3-flash | qa-v1 | train | 127 | |
959a7c7b28d6accd | en | code_html | simple one: a button that counts how many times i clicked it | This page shows a button and how many times it has been clicked since the page loaded.
```html
<!DOCTYPE html>
<html>
<head>
<title>Click counter</title>
<style>
body { font-family: sans-serif; margin: 40px; }
button { font-size: 18px; padding: 8px 16px; }
</style>
</head>
<body>
<h1>Click counter</h1>... | [
{
"role": "user",
"content": "simple one: a button that counts how many times i clicked it"
},
{
"role": "assistant",
"content": "This page shows a button and how many times it has been clicked since the page loaded.\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n <title>Click counter</title>\n ... | hy4-preview | qa-v1 | train | 276 | |
75f22c883afd6df6 | en | code_html | i need a webpage that shows the current time and updates every second | This page shows your computer's current time and refreshes it every second.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Live Clock</title>
<style>
body { font-family: sans-serif; display: flex; align-items: center; justify-content: center; height: 100vh; margin: 0; }
#clock { font... | [
{
"role": "user",
"content": "i need a webpage that shows the current time and updates every second"
},
{
"role": "assistant",
"content": "This page shows your computer's current time and refreshes it every second.\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"utf-8\">\n <title... | hy4-preview | qa-v1 | train | 276 | |
c3d52532f2a692ae | en | code_html | how about a landing page for my small cafe, needs our opening hours on it | This is a simple landing page for a cafe with the opening hours in a small table.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Sunny Corner Cafe</title>
<style>
body { font-family: Georgia, serif; margin: 0; color: #3b2f2f; }
.top { background: #6f4e37; color: #ffffff; padding: 40px; text-ali... | [
{
"role": "user",
"content": "how about a landing page for my small cafe, needs our opening hours on it"
},
{
"role": "assistant",
"content": "This is a simple landing page for a cafe with the opening hours in a small table.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<t... | glm-5.3-flash | qa-v1 | train | 439 | |
a5dff45ea3261cb8 | en | code_html | need three cards in a grid that resize on smaller screens | Three cards sit in a grid that reflows by itself, so they line up in a row on a wide screen and stack on a phone.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Three Cards</title>
<style>
body { font-family: sans-serif; padding: 20px; }
.grid { display: grid; gap: 16px; grid-template-columns: ... | [
{
"role": "user",
"content": "need three cards in a grid that resize on smaller screens"
},
{
"role": "assistant",
"content": "Three cards sit in a grid that reflows by itself, so they line up in a row on a wide screen and stack on a phone.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<meta charse... | hy4-preview | qa-v1 | train | 371 | |
a2d84d115de4ac48 | en | code_html | make me a birthday party invitation page for my daughter turning 8 | A pink invitation card with a dashed border shows who, when, where and when to reply.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>You Are Invited</title>
<style>
body { font-family: sans-serif; background: #fff0f6; color: #44203a; text-align: center; padding: 30px; }
.ca... | [
{
"role": "user",
"content": "make me a birthday party invitation page for my daughter turning 8"
},
{
"role": "assistant",
"content": "A pink invitation card with a dashed border shows who, when, where and when to reply.\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\... | hy4-preview | qa-v1 | train | 401 | |
b110a8bc23336259 | en | code_html | here's a fun one, a button that changes the background to a random color each time you click it | A page with one button that paints the whole background in a new random color on every click.
```html
<!DOCTYPE html>
<html>
<head>
<title>Random Color</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; padding-top: 120px; transition: background 0.3s; }
button { font-size: 18px; padding: 10p... | [
{
"role": "user",
"content": "here's a fun one, a button that changes the background to a random color each time you click it"
},
{
"role": "assistant",
"content": "A page with one button that paints the whole background in a new random color on every click.\n```html\n<!DOCTYPE html>\n<html>\n<h... | glm-5.3-flash | qa-v1 | train | 343 | |
20add401bf01d525 | en | code_html | i need a simple recipe page with ingredients and steps | It is a plain recipe page with an ingredients list and numbered cooking steps.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Pancakes Recipe</title>
<style>
body { font-family: Georgia, serif; max-width: 520px; margin: 40px auto; line-height: 1.5; }
h1 { color: #8a4b08; }
... | [
{
"role": "user",
"content": "i need a simple recipe page with ingredients and steps"
},
{
"role": "assistant",
"content": "It is a plain recipe page with an ingredients list and numbered cooking steps.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <title>P... | hy4-preview | qa-v1 | train | 408 | |
03e1d01656c8369c | en | code_html | to do list html were you type a task and press add | It is a to-do list where you type a task, press Add, and the task appears in the list.
```html
<!DOCTYPE html>
<html>
<head>
<title>To-Do List</title>
<style>
body { font-family: sans-serif; max-width: 420px; margin: auto; padding: 30px; background: #fffaf0; }
input { padding: 8px; font-size: 16px; }
button { padding:... | [
{
"role": "user",
"content": "to do list html were you type a task and press add"
},
{
"role": "assistant",
"content": "It is a to-do list where you type a task, press Add, and the task appears in the list.\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>To-Do List</title>\n<style>\nbody { f... | hy4-preview | qa-v1 | train | 434 | |
714c88a66e862eaa | en | code_html | table of the planits in order from the sun | This table lists the eight planets in order from the Sun.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Planets</title>
<style>
body { font-family: Arial, sans-serif; margin: 40px; }
table { border-collapse: collapse; }
td, th { border: 1px solid #999; padding: 8px; }
</style>
</head>
<b... | [
{
"role": "user",
"content": "table of the planits in order from the sun"
},
{
"role": "assistant",
"content": "This table lists the eight planets in order from the Sun.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<title>Planets</title>\n<style>\nbody { font-... | beam-free | qa-v1 | train | 345 | |
d68378857356fe32 | en | code_html | make me a tiny webpage with a light switch that turns a circle yellow | This page shows a gray circle and a Toggle button that turns it yellow.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Light Switch</title>
<style>
body{font-family:sans-serif;text-align:center;margin-top:40px}
.circle{width:120px;height:120px;border-radius:50%;background:#555;margin:20px... | [
{
"role": "user",
"content": "make me a tiny webpage with a light switch that turns a circle yellow"
},
{
"role": "assistant",
"content": "This page shows a gray circle and a Toggle button that turns it yellow.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<tit... | beam-free | qa-v1 | train | 269 | |
01f64c2c370a418a | en | code_html | tip calculator html thing where u type bill n percent | Type a bill amount and a tip percent, press Calculate, and it shows the tip and the new total.
```html
<!DOCTYPE html>
<html>
<head>
<title>Tip calculator</title>
<style>
body { font-family: Arial, sans-serif; padding: 20px; }
input { padding: 6px; width: 120px; }
button { padding: 6px 12px; margin-top:... | [
{
"role": "user",
"content": "tip calculator html thing where u type bill n percent"
},
{
"role": "assistant",
"content": "Type a bill amount and a tip percent, press Calculate, and it shows the tip and the new total.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n <title>Tip calculator</title>\n ... | hy4-preview | qa-v1 | train | 476 | |
0465d30271e4e733 | en | code_html | make me a website with a number guessing game from 1 to 100 | This page picks a secret number from 1 to 100 and tells you if each guess is too low, too high or correct.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Guess the Number</title>
<style>
body { font-family: sans-serif; text-align: center; margin-top: 50px; }
input, button { font-size: 18px; pad... | [
{
"role": "user",
"content": "make me a website with a number guessing game from 1 to 100"
},
{
"role": "assistant",
"content": "This page picks a secret number from 1 to 100 and tells you if each guess is too low, too high or correct.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"u... | glm-5.3-flash | qa-v1 | train | 434 | |
b59bc4e66407e0a0 | en | code_html | hey can u make me a textbox that counts characters as i type | This page shows a live count of the characters you type in a text area.
```html
<!DOCTYPE html>
<html>
<head>
<title>Character counter</title>
<style>
body { font-family: sans-serif; padding: 20px; }
textarea { width: 300px; height: 120px; }
#count { font-weight: bold; }
</style>
</head>
<body>
<h1... | [
{
"role": "user",
"content": "hey can u make me a textbox that counts characters as i type"
},
{
"role": "assistant",
"content": "This page shows a live count of the characters you type in a text area.\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n <title>Character counter</title>\n <style>\n ... | hy4-preview | qa-v1 | train | 288 | |
4c7ab2909d8fa8b3 | en | code_html | can you do a page with just a heading and a styled paragraph | This page shows a blue heading and one nicely styled paragraph.
```html
<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
<style>
body { font-family: Georgia, serif; background: #eef2f7; margin: 0; }
h1 { color: #224488; text-align: center; margin-top: 40px; }
p {
max-width: 500px;
margin: 20px auto;
... | [
{
"role": "user",
"content": "can you do a page with just a heading and a styled paragraph"
},
{
"role": "assistant",
"content": "This page shows a blue heading and one nicely styled paragraph.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>My Page</title>\n<style>\n body { font-family: Geor... | glm-5.3-flash | qa-v1 | train | 270 | |
29d68b343eec28a9 | en | code_html | want a lil page about my dog | This page is a short profile of my dog Milo with a few facts in a list.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My Dog</title>
<style>
body { font-family: sans-serif; max-width: 520px; margin: 40px auto; }
li { margin-bottom: 6px; }
</style>
</head>
<body>
<h1>My Dog Milo</h1... | [
{
"role": "user",
"content": "want a lil page about my dog"
},
{
"role": "assistant",
"content": "This page is a short profile of my dog Milo with a few facts in a list.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>My Dog</title>\n<style>\n body { font... | hy4-preview | qa-v1 | train | 286 | |
dd83b62066a1970b | en | code_html | 3 cards in a responsive grid, html | This page shows three cards in a row that stack in one column on narrow screens.
```html
<!DOCTYPE html>
<html>
<head>
<title>Cards</title>
<style>
body { font-family: Arial, sans-serif; margin: 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.card { backgr... | [
{
"role": "user",
"content": "3 cards in a responsive grid, html"
},
{
"role": "assistant",
"content": "This page shows three cards in a row that stack in one column on narrow screens.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>Cards</title>\n<style>\n body { font-family: Arial, sans-ser... | glm-5.3-flash | qa-v1 | train | 325 | |
ab351cf6edeea9b1 | en | code_html | how do i make a progress bar that fills when you click a button | This progress bar fills by another 20 percent every time you click the button.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Progress Bar</title>
<style>
.track { width: 300px; height: 26px; background: #eee; border: 1px solid #ccc; border-radius: 4px; }
#bar { width: 0%; ... | [
{
"role": "user",
"content": "how do i make a progress bar that fills when you click a button"
},
{
"role": "assistant",
"content": "This progress bar fills by another 20 percent every time you click the button.\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\... | hy4-preview | qa-v1 | train | 431 | |
9e1cb56be008b714 | en | code_html | need a simple blog post page layout, title date and some body text | This is a single blog post page with a title, a publication date and two paragraphs of text.
```html
<!DOCTYPE html>
<html>
<head>
<title>Blog Post</title>
<style>
body { font-family: Georgia, serif; max-width: 640px; margin: 40px auto; padding: 0 20px; }
h1 { margin-bottom: 4px; }
.date { color: #777;... | [
{
"role": "user",
"content": "need a simple blog post page layout, title date and some body text"
},
{
"role": "assistant",
"content": "This is a single blog post page with a title, a publication date and two paragraphs of text.\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n <title>Blog Post</ti... | hy4-preview | qa-v1 | train | 336 | |
d4b18f5791fcc0a6 | en | code_html | make me a hello world website | This page shows a big Hello, world! in the middle of the screen.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hello World</title>
<style>
/* center the text on the page */
body { font-family: sans-serif; text-align: center; margin-top: 40vh; }
</style>
</head>
<body>
<h1>Hello, wo... | [
{
"role": "user",
"content": "make me a hello world website"
},
{
"role": "assistant",
"content": "This page shows a big Hello, world! in the middle of the screen.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<title>Hello World</title>\n<style>\n /* center th... | glm-5.3-flash | qa-v1 | train | 165 | |
8997a76de9fec649 | en | code_html | make me a lil website about my dog pls | This is a small page about your dog with a photo box, a short text and a list of things he likes.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My Dog Benno</title>
<style>
body { font-family: sans-serif; background: #fff6e5; color: #333; padding: 24px; }
.card { max-width... | [
{
"role": "user",
"content": "make me a lil website about my dog pls"
},
{
"role": "assistant",
"content": "This is a small page about your dog with a photo box, a short text and a list of things he likes.\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\">\n <ti... | hy4-preview | qa-v1 | train | 461 | |
6ee61b07943dd0be | en | code_html | i want a number guessing game in html 1 to 100 | The page picks a secret number from 1 to 100 and tells you if your guess is too high or too low.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Guess the Number</title>
<style>
body { font-family: sans-serif; margin: 40px; }
input { padding: 6px; width: 80px; }
</style>
<... | [
{
"role": "user",
"content": "i want a number guessing game in html 1 to 100"
},
{
"role": "assistant",
"content": "The page picks a secret number from 1 to 100 and tells you if your guess is too high or too low.\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\">... | hy4-preview | qa-v1 | train | 430 | |
d54390fb395972e6 | en | code_html | hey can u make a webpage with a clock that updates every second | This page shows the current time from your computer and refreshes it every second.
```html
<!DOCTYPE html>
<html>
<head>
<title>Clock</title>
<style>
body { font-family: sans-serif; text-align: center; margin-top: 60px; }
#time { font-size: 48px; }
</style>
</head>
<body>
<h1>Current time</h1>
<div i... | [
{
"role": "user",
"content": "hey can u make a webpage with a clock that updates every second"
},
{
"role": "assistant",
"content": "This page shows the current time from your computer and refreshes it every second.\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n <title>Clock</title>\n <style>\n... | hy4-preview | qa-v1 | train | 271 | |
f10d4abc56239562 | en | code_html | how about a timeline page with five events? | This page draws a simple vertical timeline with five events.
```html
<!DOCTYPE html>
<html>
<head>
<title>Timeline</title>
<style>
body { font-family: Arial; max-width: 500px; margin: 40px auto; }
.event { border-left: 3px solid #3366cc; padding-left: 20px; margin-bottom: 24px; }
.year { color: #3366cc; font-weight: bo... | [
{
"role": "user",
"content": "how about a timeline page with five events?"
},
{
"role": "assistant",
"content": "This page draws a simple vertical timeline with five events.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>Timeline</title>\n<style>\nbody { font-family: Arial; max-width: 500px; ... | glm-5.3-flash | qa-v1 | train | 359 | |
afbf90be06cfe420 | en | code_html | progress bar that fills up when u click a button | Each click fills the green bar by another 20 percent, up to 100.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Progress bar</title>
<style>
body { font-family: sans-serif; padding: 60px; }
#bar { width: 300px; height: 24px; border: 1px solid #999; }
#fill { width: 0; height: 100%; ... | [
{
"role": "user",
"content": "progress bar that fills up when u click a button"
},
{
"role": "assistant",
"content": "Each click fills the green bar by another 20 percent, up to 100.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Progress bar</title>\n<st... | hy4-preview | qa-v1 | train | 366 | |
b6a6d69d6978b105 | en | code_html | make me a website with a blog post on it, just a title, date and some text | This page shows a blog post with a title, a date and two short paragraphs.
```html
<!DOCTYPE html>
<html>
<head>
<title>My Blog</title>
<style>
body { font-family: Arial, sans-serif; max-width: 700px; margin: 40px auto; padding: 0 20px; color: #333; }
h1 { color: #222; margin-bottom: 4px; }
.date { color: #888; f... | [
{
"role": "user",
"content": "make me a website with a blog post on it, just a title, date and some text"
},
{
"role": "assistant",
"content": "This page shows a blog post with a title, a date and two short paragraphs.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>My Blog</title>\n<style>\n ... | glm-5.3-flash | qa-v1 | train | 324 | |
72259ff144b3a2a4 | en | code_html | make me a recipe page for pancakes with ingredients and steps pls | It is a plain recipe page for pancakes with an ingredient list and six numbered steps.
```html
<!DOCTYPE html>
<html>
<head>
<title>Pancake Recipe</title>
<style>
body { font-family: sans-serif; max-width: 500px; margin: auto; padding: 20px; }
h1 { color: #b5651d; }
li { margin: 4px 0; }
.step { margin: 8px 0; line-he... | [
{
"role": "user",
"content": "make me a recipe page for pancakes with ingredients and steps pls"
},
{
"role": "assistant",
"content": "It is a plain recipe page for pancakes with an ingredient list and six numbered steps.\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>Pancake Recipe</title>... | hy4-preview | qa-v1 | train | 447 | |
5bce5da428080207 | en | code_html | can u make a shopping list where clicking an item crosses it out | A shopping list of four items where each click strikes an item through, and a second click brings it back.
```html
<!DOCTYPE html>
<html>
<head>
<title>Shopping List</title>
<style>
body { font-family: sans-serif; padding: 20px; }
li { cursor: pointer; font-size: 18px; margin: 6px 0; }
.done { text-dec... | [
{
"role": "user",
"content": "can u make a shopping list where clicking an item crosses it out"
},
{
"role": "assistant",
"content": "A shopping list of four items where each click strikes an item through, and a second click brings it back.\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n <title>S... | hy4-preview | qa-v1 | train | 352 | |
a5347012eb02e76a | en | code_html | i need a FAQ page using that details and summary thing | This page shows a FAQ where each answer opens when you click its question.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>FAQ</title>
<style>
body { font-family: Arial, sans-serif; max-width: 520px; margin: 30px auto; }
details { border-bottom: 1px solid #ccc; padding: 10px 0; }
sum... | [
{
"role": "user",
"content": "i need a FAQ page using that details and summary thing"
},
{
"role": "assistant",
"content": "This page shows a FAQ where each answer opens when you click its question.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<title>FAQ</titl... | glm-5.3-flash | qa-v1 | train | 340 | |
222f2d0470f71e64 | en | code_html | give me a page with a table of the planets in order from the sun, add a bit of css | This page shows a table of the eight planets in order from the Sun with their distances.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Planets</title>
<style>
body { font-family: Arial, sans-serif; margin: 30px; }
table {
border-collapse: collapse;
width: 100%;
max-width:... | [
{
"role": "user",
"content": "give me a page with a table of the planets in order from the sun, add a bit of css"
},
{
"role": "assistant",
"content": "This page shows a table of the eight planets in order from the Sun with their distances.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n... | glm-5.3-flash | qa-v1 | train | 539 | |
5cb33d9636495f2f | en | code_html | can you do a list of my favorite games with a short description under each one | This page lists three games, each with its name as a heading and one line of description under it.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My Favorite Games</title>
<style>
body { font-family: sans-serif; max-width: 520px; margin: 40px auto; }
h2 { margin-bottom: 2px... | [
{
"role": "user",
"content": "can you do a list of my favorite games with a short description under each one"
},
{
"role": "assistant",
"content": "This page lists three games, each with its name as a heading and one line of description under it.\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n... | hy4-preview | qa-v1 | train | 388 | |
0db83e136a282364 | en | code_html | make me a landing page for my little cafe, needs opening hours on it | Here's a small landing page for a neighborhood cafe, with a brown header banner and a table of opening hours.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The Little Bean Cafe</title>
<style>
body { font-family: Georgia, serif; margin: 0; background: #fdf6ec; color: #3b2a1a; }
heade... | [
{
"role": "user",
"content": "make me a landing page for my little cafe, needs opening hours on it"
},
{
"role": "assistant",
"content": "Here's a small landing page for a neighborhood cafe, with a brown header banner and a table of opening hours.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<... | hy4-preview | qa-v1 | train | 555 | |
d2fefeb2acaf2d43 | en | code_html | hello world page pls | This page shows the words Hello, world! as a big heading.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Hello World</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; padding: 60px; }
</style>
</head>
<body>
<h1>Hello, world!</h1>
</body>
</html>
```
Save it as hello.html... | [
{
"role": "user",
"content": "hello world page pls"
},
{
"role": "assistant",
"content": "This page shows the words Hello, world! as a big heading.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>Hello World</title>\n<style>\n body { font-family: Arial, sans-serif; t... | glm-5.3-flash | qa-v1 | train | 131 | |
8da8431a1909f3e9 | en | code_html | write me a number guessing game in html, 1 to 100 | The page picks a secret number from 1 to 100 and tells you if each guess is too high or too low.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Guess the number</title>
<style>
body { font-family: sans-serif; padding: 20px; }
#msg { font-size: 20px; margin-top: 12px; }
</style>
</hea... | [
{
"role": "user",
"content": "write me a number guessing game in html, 1 to 100"
},
{
"role": "assistant",
"content": "The page picks a secret number from 1 to 100 and tells you if each guess is too high or too low.\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\"... | hy4-preview | qa-v1 | train | 443 | |
733b3c55049433a8 | en | code_html | hey can you show me a dark mode toggle button in html | This page has a button that flips it between light and dark colors.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Dark Mode</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; padding-top: 80px; background: #fff; color: #222; transition: 0.3s; }
body.dark { background: #1a1a2e; color: #f... | [
{
"role": "user",
"content": "hey can you show me a dark mode toggle button in html"
},
{
"role": "assistant",
"content": "This page has a button that flips it between light and dark colors.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<title>Dark Mode</title>\n<style>\nbody { font-fam... | glm-5.3-flash | qa-v1 | train | 288 | |
429eee33fad6d3e1 | en | code_html | code me a table showing all the planets in order from the sun | This page shows an HTML table with the eight planets in order from the Sun and their average distances.
```html
<!DOCTYPE html>
<html>
<head>
<title>The Planets</title>
<style>
body { font-family: Arial, sans-serif; }
table { border-collapse: collapse; margin: 40px auto; }
th, td { border: 1px solid #999; padding: 8px ... | [
{
"role": "user",
"content": "code me a table showing all the planets in order from the sun"
},
{
"role": "assistant",
"content": "This page shows an HTML table with the eight planets in order from the Sun and their average distances.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>The Planets... | glm-5.3-flash | qa-v1 | train | 444 | |
0d99de23edfb1569 | en | code_html | webpage that says hi to you when u type your name in? | It reads the name from the text box and writes a greeting below when you click the button.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Greeting</title>
</head>
<body>
<h1>What is your name?</h1>
<input id="name" type="text" placeholder="Type your name">
<button onclick="gree... | [
{
"role": "user",
"content": "webpage that says hi to you when u type your name in?"
},
{
"role": "assistant",
"content": "It reads the name from the text box and writes a greeting below when you click the button.\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\"... | hy4-preview | qa-v1 | train | 253 | |
385417ec4c7936f2 | en | code_html | can you do a little quiz page? one question, three buttons to pick the answer | This page asks one quiz question with three answer buttons and tells you if you picked right.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Quick Quiz</title>
<style>
body { font-family: sans-serif; margin: 40px; }
button { display: block; margin: 8px 0; padding: 10px 20px; font-size: 16px; }
... | [
{
"role": "user",
"content": "can you do a little quiz page? one question, three buttons to pick the answer"
},
{
"role": "assistant",
"content": "This page asks one quiz question with three answer buttons and tells you if you picked right.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<meta charse... | glm-5.3-flash | qa-v1 | validation | 335 | |
913e601cade6d103 | en | code_html | want a little page that shows the current time and updates every second pls | This page shows a big clock that refreshes itself every second.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Clock</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; padding-top: 100px; background: #111; color: #eee; }
#clock { font-size: 56px; }
</style>
</head>
<body>
<p id="clock"><... | [
{
"role": "user",
"content": "want a little page that shows the current time and updates every second pls"
},
{
"role": "assistant",
"content": "This page shows a big clock that refreshes itself every second.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<title>Clock</title>\n<style>\nb... | glm-5.3-flash | qa-v1 | train | 241 | |
4db7b1dfebf1c205 | en | code_html | simple stopwatch with start, stop and reset, all in one html file | This page is a stopwatch with Start, Stop and Reset buttons.
```html
<!DOCTYPE html>
<html>
<head>
<title>Stopwatch</title>
<style>
body { font-family: Arial, sans-serif; margin: 30px; }
#time { font-size: 40px; }
button { font-size: 16px; padding: 5px 10px; }
</style>
</head>
<body>
<h2>Stopwatch</h2>
<p id="tim... | [
{
"role": "user",
"content": "simple stopwatch with start, stop and reset, all in one html file"
},
{
"role": "assistant",
"content": "This page is a stopwatch with Start, Stop and Reset buttons.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<title>Stopwatch</title>\n<style>\n body { font-family: ... | glm-5.3-flash | qa-v1 | train | 436 | |
f25569cae45cba7b | en | code_html | a simple coming soon page would be nice | This is a dark placeholder page that tells visitors the site is not open yet.
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Coming soon</title>
<style>
body { font-family: sans-serif; text-align: center; background: #222222; color: #ffffff; padding-top: 120px; }
p { color: #bbbbbb; }
</style>
</he... | [
{
"role": "user",
"content": "a simple coming soon page would be nice"
},
{
"role": "assistant",
"content": "This is a dark placeholder page that tells visitors the site is not open yet.\n```html\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>Coming soon</title>\n<style>\nbod... | glm-5.3-flash | qa-v1 | train | 199 | |
4633de0c3bbfa6aa | en | code_html | can you do an FAQ page with those collapsible sections? the html details thing | This page shows three FAQ questions that open and close when you click them.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>FAQ</title>
<style>
body { font-family: Arial, sans-serif; max-width: 600px; margin: 40px auto; }
details { border: 1px solid #ccc; border-radius: 6px; padding: ... | [
{
"role": "user",
"content": "can you do an FAQ page with those collapsible sections? the html details thing"
},
{
"role": "assistant",
"content": "This page shows three FAQ questions that open and close when you click them.\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"... | glm-5.3-flash | qa-v1 | train | 359 | |
5d07f83584659794 | en | code_logic | What comes next: 6, 11, 16, 21, ? | Each number is 5 more than the one before, so the next number is 26. | [
{
"role": "user",
"content": "What comes next: 6, 11, 16, 21, ?"
},
{
"role": "assistant",
"content": "Each number is 5 more than the one before, so the next number is 26."
}
] | code | qa-v1 | train | 41 | |
ebe626772459f1fa | en | code_logic | Ben is 4 years older than Tom. Tom is 27. How old is Ben? | 27 + 4 = 31. Ben is 31. | [
{
"role": "user",
"content": "Ben is 4 years older than Tom. Tom is 27. How old is Ben?"
},
{
"role": "assistant",
"content": "27 + 4 = 31. Ben is 31."
}
] | code | qa-v1 | train | 38 | |
5cde5e52f90de5b8 | en | code_logic | Grace is older than Anna. How old is Grace? | I can't tell, because the question doesn't give anyone's actual age. | [
{
"role": "user",
"content": "Grace is older than Anna. How old is Grace?"
},
{
"role": "assistant",
"content": "I can't tell, because the question doesn't give anyone's actual age."
}
] | code | qa-v1 | train | 28 | |
df0bfe7a7cc8eeb9 | en | code_logic | Mia is 9 years older than Grace. Grace is 10. How old is Mia? | 10 + 9 = 19. Mia is 19. | [
{
"role": "user",
"content": "Mia is 9 years older than Grace. Grace is 10. How old is Mia?"
},
{
"role": "assistant",
"content": "10 + 9 = 19. Mia is 19."
}
] | code | qa-v1 | validation | 39 | |
2774ae0fc7c99856 | en | code_logic | Next number in the sequence 8, 17, 26, 35? | Each number is 9 more than the one before, so the next number is 44. | [
{
"role": "user",
"content": "Next number in the sequence 8, 17, 26, 35?"
},
{
"role": "assistant",
"content": "Each number is 9 more than the one before, so the next number is 44."
}
] | code | qa-v1 | train | 40 | |
e7e4f185b0a3e8ca | en | code_logic | How many legs do 9 chickens and 7 cats have in total? | 9 chickens: 9 × 2 = 18 legs. 7 cats: 7 × 4 = 28 legs. 18 + 28 = 46.
The answer is 46. | [
{
"role": "user",
"content": "How many legs do 9 chickens and 7 cats have in total?"
},
{
"role": "assistant",
"content": "9 chickens: 9 × 2 = 18 legs. 7 cats: 7 × 4 = 28 legs. 18 + 28 = 46.\nThe answer is 46."
}
] | code | qa-v1 | train | 69 | |
9598342e0469c150 | en | code_logic | How many legs do 5 ducks and 3 cats have in total? | 5 ducks: 5 × 2 = 10 legs. 3 cats: 3 × 4 = 12 legs. 10 + 12 = 22.
The answer is 22. | [
{
"role": "user",
"content": "How many legs do 5 ducks and 3 cats have in total?"
},
{
"role": "assistant",
"content": "5 ducks: 5 × 2 = 10 legs. 3 cats: 3 × 4 = 12 legs. 10 + 12 = 22.\nThe answer is 22."
}
] | code | qa-v1 | train | 69 | |
b66198fb3796d2f0 | en | code_logic | odd one out: dog, cat, eagle, horse | Eagle doesn't belong, because an eagle is a bird, the others are mammals. | [
{
"role": "user",
"content": "odd one out: dog, cat, eagle, horse"
},
{
"role": "assistant",
"content": "Eagle doesn't belong, because an eagle is a bird, the others are mammals."
}
] | code | qa-v1 | train | 30 | |
54989c824e1d64ec | en | code_logic | Anna is taller than Oliver. Leo is taller than Tom. Tom is taller than Anna. Who is the shortest? | From tallest to shortest: Leo, Tom, Anna, Oliver. The shortest is Oliver. | [
{
"role": "user",
"content": "Anna is taller than Oliver. Leo is taller than Tom. Tom is taller than Anna. Who is the shortest?"
},
{
"role": "assistant",
"content": "From tallest to shortest: Leo, Tom, Anna, Oliver. The shortest is Oliver."
}
] | code | qa-v1 | train | 42 | |
43a15f5fe869656a | en | code_logic | Which one doesn't belong: banana, carrot, apple, cherry? | Carrot doesn't belong, because a carrot is a vegetable, the others are fruits. | [
{
"role": "user",
"content": "Which one doesn't belong: banana, carrot, apple, cherry?"
},
{
"role": "assistant",
"content": "Carrot doesn't belong, because a carrot is a vegetable, the others are fruits."
}
] | code | qa-v1 | train | 34 | |
1e61d0641658be6f | en | code_logic | How many legs do 8 ants and 7 spiders have in total? | 8 ants: 8 × 6 = 48 legs. 7 spiders: 7 × 8 = 56 legs. 48 + 56 = 104.
The answer is 104. | [
{
"role": "user",
"content": "How many legs do 8 ants and 7 spiders have in total?"
},
{
"role": "assistant",
"content": "8 ants: 8 × 6 = 48 legs. 7 spiders: 7 × 8 = 56 legs. 48 + 56 = 104.\nThe answer is 104."
}
] | code | qa-v1 | train | 71 | |
45af82a5e29d0ecb | en | code_logic | What comes next: 78, 76, 74, 72, ? | Each number is 2 less than the one before, so the next number is 70. | [
{
"role": "user",
"content": "What comes next: 78, 76, 74, 72, ?"
},
{
"role": "assistant",
"content": "Each number is 2 less than the one before, so the next number is 70."
}
] | code | qa-v1 | train | 42 | |
3d2acf16ca0244f9 | en | code_logic | Jack is taller than Tom. Emma is taller than Jack. Grace is taller than Emma. Who is the tallest? | From tallest to shortest: Grace, Emma, Jack, Tom. The tallest is Grace. | [
{
"role": "user",
"content": "Jack is taller than Tom. Emma is taller than Jack. Grace is taller than Emma. Who is the tallest?"
},
{
"role": "assistant",
"content": "From tallest to shortest: Grace, Emma, Jack, Tom. The tallest is Grace."
}
] | code | qa-v1 | train | 41 | |
83783a8f20bc3a6a | en | code_logic | All roses are flowers. All flowers are plants. Are all roses plants? | Yes. Every one of the roses is one of the flowers, and all flowers are plants, so all roses are plants. | [
{
"role": "user",
"content": "All roses are flowers. All flowers are plants. Are all roses plants?"
},
{
"role": "assistant",
"content": "Yes. Every one of the roses is one of the flowers, and all flowers are plants, so all roses are plants."
}
] | code | qa-v1 | train | 44 | |
9111405d42fb2397 | en | code_logic | Ben is heavier than Sam. Tom is heavier than Ben. Grace is heavier than Tom. Who is the heaviest? | From heaviest to lightest: Grace, Tom, Ben, Sam. The heaviest is Grace. | [
{
"role": "user",
"content": "Ben is heavier than Sam. Tom is heavier than Ben. Grace is heavier than Tom. Who is the heaviest?"
},
{
"role": "assistant",
"content": "From heaviest to lightest: Grace, Tom, Ben, Sam. The heaviest is Grace."
}
] | code | qa-v1 | train | 45 | |
24facf1868acd73b | en | code_logic | 1, 3, 9, 27, ... what's next? | Each number is 3 times the one before, so the next number is 81. | [
{
"role": "user",
"content": "1, 3, 9, 27, ... what's next?"
},
{
"role": "assistant",
"content": "Each number is 3 times the one before, so the next number is 81."
}
] | code | qa-v1 | train | 37 | |
5a86d8778fdc7f79 | en | code_logic | 14, 22, 30, 38, ... what's next? | Each number is 8 more than the one before, so the next number is 46. | [
{
"role": "user",
"content": "14, 22, 30, 38, ... what's next?"
},
{
"role": "assistant",
"content": "Each number is 8 more than the one before, so the next number is 46."
}
] | code | qa-v1 | train | 41 | |
03b7d062c174c024 | en | code_logic | Next number in the sequence 1, 2, 4, 8? | Each number is 2 times the one before, so the next number is 16. | [
{
"role": "user",
"content": "Next number in the sequence 1, 2, 4, 8?"
},
{
"role": "assistant",
"content": "Each number is 2 times the one before, so the next number is 16."
}
] | code | qa-v1 | train | 36 | |
11fcfcbe09834e11 | en | code_logic | odd one out: pine, birch, rose, oak | Rose doesn't belong, because a rose is a flower, the others are trees. | [
{
"role": "user",
"content": "odd one out: pine, birch, rose, oak"
},
{
"role": "assistant",
"content": "Rose doesn't belong, because a rose is a flower, the others are trees."
}
] | code | qa-v1 | train | 31 | |
d23026062c85dd23 | en | code_logic | What comes next: 2, 4, 6, 10, ? | Each number is the sum of the two before it, so the next number is 16. | [
{
"role": "user",
"content": "What comes next: 2, 4, 6, 10, ?"
},
{
"role": "assistant",
"content": "Each number is the sum of the two before it, so the next number is 16."
}
] | code | qa-v1 | train | 39 | |
508f19bc85b7421c | en | code_logic | All glibs are frobs. Some frobs are red. Are some glibs red? | We can't tell. The frobs that are red might not be glibs at all, so the facts don't say whether any glibs are red. | [
{
"role": "user",
"content": "All glibs are frobs. Some frobs are red. Are some glibs red?"
},
{
"role": "assistant",
"content": "We can't tell. The frobs that are red might not be glibs at all, so the facts don't say whether any glibs are red."
}
] | code | qa-v1 | train | 55 | |
c05806cb69d51cd5 | en | code_logic | Next number in the sequence 1, 2, 3, 5? | Each number is the sum of the two before it, so the next number is 8. | [
{
"role": "user",
"content": "Next number in the sequence 1, 2, 3, 5?"
},
{
"role": "assistant",
"content": "Each number is the sum of the two before it, so the next number is 8."
}
] | code | qa-v1 | train | 36 | |
b1ddb1c40cc66acd | en | code_logic | Which one doesn't belong: copper, oxygen, iron, gold? | Oxygen doesn't belong, because oxygen is a gas, the others are metals. | [
{
"role": "user",
"content": "Which one doesn't belong: copper, oxygen, iron, gold?"
},
{
"role": "assistant",
"content": "Oxygen doesn't belong, because oxygen is a gas, the others are metals."
}
] | code | qa-v1 | train | 31 | |
ca1c53974ffcc2b1 | en | code_logic | Chloe is 6 years older than Ben. Ben is 35. How old is Chloe? | 35 + 6 = 41. Chloe is 41. | [
{
"role": "user",
"content": "Chloe is 6 years older than Ben. Ben is 35. How old is Chloe?"
},
{
"role": "assistant",
"content": "35 + 6 = 41. Chloe is 41."
}
] | code | qa-v1 | train | 44 | |
9f1bcdebc7af5895 | en | code_logic | What comes next: 5, 11, 17, 23, ? | Each number is 6 more than the one before, so the next number is 29. | [
{
"role": "user",
"content": "What comes next: 5, 11, 17, 23, ?"
},
{
"role": "assistant",
"content": "Each number is 6 more than the one before, so the next number is 29."
}
] | code | qa-v1 | train | 41 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.