text
stringlengths
79
2.28k
<|user|> Generate a HTML page with 3 columns using Bootstrap. </s> <|assistant|> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Bootstrap Example</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Bootstrap --> <link href="css/bootstrap.min.css" rel="...
<|user|> Create a HTML page that shows the data provided in an interactive table. data = [ { "id": 1, "first_name": "John", "last_name": "Doe" }, { "id": 2, "first_name": "Amy", "last_name": "Smith" }, { "id": 3, "first_name": "Brian", "last_name": "Green" } ]</s> <|assistant|> <html> <head> <title>Interact...
<|user|> Create an HTML page that displays one web page with two vertical panenls. </s> <|assistant|> <html> <head> <style> #left, #right{ height: 300px; width: 200px; float: left; padding: 10px; background-color: #ddd; } </style> </head> <body> <div...
<|user|> Generate an HTML page which contains the following elements: a heading, a paragraph, and a button. </s> <|assistant|> <html> <head> <title>My HTML Page</title> </head> <body> <h1>Hello World!</h1> <p>This is a simple HTML page created using code.</p> <button>Click Me...
<|user|> Write an HTML program to create a simple page layout. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Simple Page Layout</title> </head> <body> <div>Header Content</div> <div>Body Content</div> <div>Footer Content</div> </body> </html></s>
<|user|> Edit the following HTML document and add a CSS style to changes the background color to blue. <html> <head> </head> <body> <h1>Hello, World!</h1> </body> </html></s> <|assistant|> <html> <head> <style> body { background-color: blue; } </style> </head> <body> <h...
<|user|> How would you edit the following HTML code so that it displays content in two columns? <div> <p>This is the content</p> </div></s> <|assistant|> <div> <div style="float: left; width: 50%;"> <p>This is the content 1</p> </div> <div style="float: right; width: 50%;"> <p>This is the content 2</p> ...
<|user|> Create an HTML page design for displaying a website homepage. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Website Homepage</title> </head> <body> <h1>Welcome to the website!</h1> <p>This is the homepage for a new website.</p> <ul> <li> About U...
<|user|> Create a web page using HTML and CSS which displays a user interface for a calculator. </s> <|assistant|> <html> <head> <title>Calculator Webpage</title> </head> <body> <h1>Calculator</h1> <div class="container"> <div class="display"> <p>0</p> ...
<|user|> Update the following HTML page so that it refreshes the page every 5 seconds. <html> <head> <title>My Webpage</title> </head> <body> Hello World! </body> </html></s> <|assistant|> <html> <head> <title>My Webpage</title> <meta http-equiv="refresh" content="5"> </head> <body> Hello World! </bod...
<|user|> Make an HTML webpage with a heading "Welcome to my webpage!" and a paragraph with the text "This is my first webpage!". </s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>My Webpages</title> </head> ...
<|user|> Modify the CSS in the given HTML code to style the web page <html> <head> <title>Styled Page</title> </head> <body> <h1>Styled Page</h1> </body> </html></s> <|assistant|> <html> <head> <title>Styled Page</title> <style type="text/css"> body { background-color: white; } h1 { ...
<|user|> Create an HTML page that has two paragraphs, a heading and a link to a website. Link: https://example.com Heading: Example Website Paragraph 1: This is the first paragraph. Paragraph 2: This is the second paragraph.</s> <|assistant|> <html> <head> <title>Example Website</title> </head> <bod...
<|user|> Edit the following HTML page to add a new heading and a link. <html> <head> <title>Example Site</title> </head> <body> <h1>Hello World!</h1> <p>This is a Sample Page.</p> </body> </html> Link: http://example.com Heading: Sample Page</s> <|assistant|> <html> <head> <title>Example Site</title> </he...
<|user|> Edit the following HTML code to allow Google Chrome to accurately render the page. <html> <head> <title>My Webpage</title> </head> <body> <table> <tr> <th>Column 1</th> <th>Coloumn 2</th> </tr> </body> </html></s> <|assistant|> <html> <head> <title>My Webpage</title> </head> <body> ...
<|user|> Design a basic HTML page with a header, footer and a body section. </s> <|assistant|> <html> <head> <title>My HTML Page</title> </head> <body> <header> <h1>My Website</h1> </header> <main> This is the main content of the page. </main> <footer> Copyright 20</s>
<|user|> Write a HTML/CSS code to implement responsive design </s> <|assistant|> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> @media only screen and (max-width: 600px) { #wrap { max-width: 100%; } } </style> </head> <body> <div id="wrap"> <!-- your c...
<|user|> Construct an HTML form as a comment in the below code. <div> <!-- TODO: Add a form here --> </div></s> <|assistant|> <div> <!-- <form action="submit.php" method="post"> <label for="name">Name:</label><br> <input type="text" id="name" name="name"><br><br> <label for="email">E...
<|user|> Create a function in HTML that checks to make sure the provided input is an integer </s> <|assistant|> <html> <head> <script> function checkInteger(number) { if(typeof number == 'number') { if(Math.floor(number) == number) return true; } ...
<|user|> Write an HTML page which takes in user input and makes an AJAX request to a web server. </s> <|assistant|> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ ...
<|user|> Replace the placeholder in the given HTML document with the corresponding table. <html> <body> <!-- replace placeholder with table --> </body> </html> <table style="width:100%"> <tr> <th>Firstname</th> <th>Lastname</th> <th>Age</th> </tr> <tr> <td>Jill</td> <td>Smith</td> ...
<|user|> Write a basic HTML page with a div and an unordered list. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Basic HTML Page</title> </head> <body> <div> <ul> <li>list item 1</li> <li>list item 2</li> <li>list item 3</li> </ul> </div> </body> </html></s>
<|user|> Using the provided HTML structure and jQuery code, change the background color to green when the button is clicked. <div> <h1>Hello World!</h1> <button>Click me!</button> </div> <script> $(document).ready(function(){ $("button").click(function(){ //TODO: Add code here }); ...
<|user|> Create an HTML/CSS web page from the following text content. My favorite food is sushi.</s> <|assistant|> <html> <head> <title>Sushi</title> <style> // Styling for the page p { font-family: Arial; font-size: 18px; } ...
<|user|> Create an HTML document to display the following text: Welcome to our website!</s> <|assistant|> <html> <head> <title>Welcome to our Website!</title> </head> <body> <h1>Welcome to our Website!</h1> </body> </html></s>
<|user|> Generate an HTML page to display text The text to be displayed: "Hello World"</s> <|assistant|> <html> <head> <title>Hello World</title> </head> <body> <h1>Hello World</h1> </body> </html></s>
<|user|> Create an HTML and CSS layout to display a list of books with their author, title and description. Book 1: Author - John, Title - The Catcher in the Rye, Description - “The Catcher in the Rye is a 1951 novel by J. D. Salinger.” Book 2: Author - Jane, Title - Sense and Sensibility, Description - “Sense and Sen...
<|user|> Create a HTML & CSS website template featuring a header with a website logo. </s> <|assistant|> <html> <head> <title>My Website</title> </head> <body> <header> <div class = "logo"> <img src = "logo.png" alt = "Website Logo" /> </div> </header> <!-- other code--> </body> </html> /* CSS Code */ ...
<|user|> Write an HTML page that displays one heading and two paragraphs. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <h1>Heading</h1> <p>Paragraph 1</p> <p>Paragraph 2</p> </body> </html></s>
<|user|> Create an HTML page that includes three buttons with labels "A", "B" and "C". </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <button>A</button> <button>B</button> <button>C</button> </body> </html></s>
<|user|> Create an HTML web page that contains two text fields and two buttons </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Two Text Fields and Two Buttons</title> </head> <body> <form action=""> <input type="text" placeholder="Input 1" /> <input type="text" placeholder="Input 2" />...
<|user|> Use the given HTML markup to generate a web page with a headline, body and paragraphs. <h1>My web page</h1></s> <|assistant|> <html> <head> <title>My web page</title> </head> <body> <h1>My web page</h1> <p>This is my web page.</p> <p>It contains some information about me.</p> </body> </html></s...
<|user|> Create an HTML page that displays the following text in the body: "Hello World!". </s> <|assistant|> <html> <head> </head> <body> Hello World! </body> </html></s>
<|user|> Generate a valid HTML document. </s> <|assistant|> <html> <head> <title>My HTML Document</title> </head> <body> <h1>My website</h1> <div> <p>This is my website content.</p> </div> </body> </html></s>
<|user|> Write an HTML program to display an output as a table. </s> <|assistant|> <html> <head> <title>Table example</title> </head> <body> <table border = "1"> <tr> <td>Row 1, Column 1</td> <td>Row 1, Column 2</td> </tr> <tr> ...
<|user|> Create an HTML page that displays a list of users and their ages. Alice: 25 Bob: 27 Carol: 30</s> <|assistant|> <!DOCTYPE html> <html> <head> <title>User Ages</title> </head> <body> <ul> <li>Alice: 25</li> <li>Bob: 27</li> <li>Carol: 30</li> </ul> </body> </html></s>
<|user|> Create a Drupal 8 theme that implements a 3 column layout with a header, side bar, content and footer. </s> <|assistant|> <html> <head> <title>{{ site.name }}</title> <style> body { display: flex; flex-direction: column; } ...
<|user|> Create a HTML page with an ordered list of items using Five items: apple, banana, orange, strawberry, and lemon.</s> <|assistant|> <html> <body> <ol> <li>Apple</li> <li>Banana</li> <li>Orange</li> <li>Strawberry</li> <li>Lemon</li> </ol> </body> </html></s>
<|user|> Develop a web page that displays the current temperature in various cities. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Weather Tracker</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> </head> <body> <h1>Current Weather</h1> <div class...
<|user|> Generate an HTML element </s> <|assistant|> <html> <body> </body> </html></s>
<|user|> Write an HTML page including 1 form element Form Element: text area control</s> <|assistant|> <html> <head> <title>Form Element</title> </head> <body> <form action=""> <textarea placeholder="Enter your text here..." rows="4" cols="50"></textarea> <input type="submit" value="Submit"> </form> <...
<|user|> Generate a HTML code to display a basic webpage with Heading: Welcome Text: Hello World!</s> <|assistant|> <html> <head> <title>Welcome</title> </head> <body> <h1>Welcome</h1> <p>Hello World!</p> </body> </html></s>
<|user|> Create an HTML page with a layout consisting of 3 containers: one on the left and two on the right. </s> <|assistant|> <html> <head> </head> <style> #container{ width: 100%; display: flex; } #left-container{ width: 20%; } ...
<|user|> Set up a basic HTML page with a title that says "My Web Page". </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>My Web Page</title> </head> <body> </body> </html></s>
<|user|> Generate an HTML form in PHP to gather user information such as name and address. </s> <|assistant|> <html> <head> <title>User Form</title> </head> <body> <form action="process_form.php" method="post"> Name: <input type="text" name="name"><br> Address: <input type="text" name="address"><br> <input type="su...
<|user|> Create an HTML webpage with a main navigation at the top. </s> <|assistant|> <html> <head> <meta charset="utf-8"> <title>Navigation</title> </head> <body> <nav> <ul> <li><a href="home.html">Home</a></li> <li><a href="about.html">About</a></li> <li><a href="blog.h...
<|user|> Generate a proper HTML page. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Title of the document</title> </head> <body> <h1>This is a Heading</h1> <p>This is a paragraph.</p> </body> </html></s>
<|user|> Create an HTML page that displays the Date and Time in the header. </s> <|assistant|> <html> <head> <title>Date and Time</title> </head> <body> <h3 id="date"><script>document.getElementById("date").innerHTML = Date()</script></h3> </body> </html></s>
<|user|> Design a user interface in HTML for a login form. </s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Login Form</title> </head> <body> <form> <label>Username:</label> <input type="text" name="us...
<|user|> Design a web page in HTML5 with a heading, a paragraph and a button. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>My Web Page</title> </head> <body> <h1>This is my title</h1> <p>This is some content.</p> <button>Click Me!</button> </body> </html></s>
<|user|> Generate HTML code to create a login page with a username and password field. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Login</title> </head> <body> <div> <h1>Login</h1> <form id="loginForm" action="" method="post"> <label>Username:</label> <input type="t...
<|user|> Create an HTML document with a heading "Heading" and a paragraph with the text "Hello, World!" </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Example Document</title> </head> <body> <h1>Heading</h1> <p>Hello, World!</p> </body> </html></s>
<|user|> Edit the given HTML code to create a paragraph element. <div>Hello World!</div></s> <|assistant|> <div><p>Hello World!</p></div></s>
<|user|> Develop an HTML page in which you can display a message to the user. </s> <|assistant|> <html> <head> <title>Display Message</title> </head> <body> <div> <h1>Welcome!</h1> <p>This page displays a message to the user.</p> </div> </body> </html></s>...
<|user|> Write a HTML structure using semantic tags to list the skills of a web developer. HTML, CSS, JavaScript, React</s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Web Developer Skills</title> </head> <...
<|user|> Write a HTML to generate a form to login. </s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Login</title> </head> <body> <form action=""> <label for="username">Username</label> <input type="tex...
<|user|> Create HTML code for a web page that has a centered title, a logo, and a colorscheme. Title: "My Website" Logo: <link to logo file> Color Scheme: #123456, #234567, #345678</s> <|assistant|> <html> <head> <title>My Website</title> </head> <body> <h1 align="center">My Website</h1> <img src="<link to logo file>"...
<|user|> Create HTML code for a table that has 7 columns and 3 rows. </s> <|assistant|> <html> <table> <tr> <th>Column 1</th> <th>Column 2</th> <th>Column 3</th> <th>Column 4</th> <th>Column 5</th> <th>Column 6</th> <th>Column 7</th> </tr> <tr> <td>Cell 1</td> <td>Cell 2</td> ...
<|user|> Design a HTML page to display a table of students’ grades for a specific subject. </s> <|assistant|> <!DOCTYPE html> <html> <head> <style> table { font-family: arial, sans-serif; border-collapse: collapse; width: 100%; } td, th { border: 1px solid #dddddd; text-align: left; padding: 8px; } tr:nth...
<|user|> Create an HTML page with a basic calculator form that takes two numbers as inputs and computes and displays the sum. </s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Calculator</titl...
<|user|> Develop a CSS/HTML page with a 3-column layout and a sticky navigation bar. </s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Layout</title> <style> .row { display: ...
<|user|> Create a web page with an input field and a button to reset the field. </s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Input field and Reset button</title> </head> <body> <input type=...
<|user|> Edit the given HTML code to add a title tag inside the head tag. <html> <head> </head> <body> <h1>My Website</h1> </body> </html></s> <|assistant|> <html> <head> <title>My Website</title> </head> <body> <h1>My Website</h1> </body> </html></s>
<|user|> Create a HTML page that takes your name as input and welcomes you on page load. </s> <|assistant|> <html> <body> <script> function onPageLoad() { var name = prompt('Please enter your name: '); alert('Welcome ' + name + '!'); } onPageLoad(); </script> </body> </html></s>
<|user|> Create a webpage using HTML and CSS that has a navigation bar with a logo, five links to different webpages, and a footer. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>My Webpage</title> <meta charset="utf-8"> <style> body { background-color: #f1f1f1; } ...
<|user|> Create an HTML page with a form that has two inputs: Name and Email. </s> <|assistant|> <html> <head> <title>Submission Form</title> </head> <body> <form> <label for="name">Name: </label> <input type="text" name="name" id="name" /> <label for="email">Email: </label> <input...
<|user|> Using HTML/CSS and JavaScript, construct a web page that generates a random password. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Random Password Generator</title> <script src="generate.js"></script> <style> body { background-color: lightblue; } #container { ...
<|user|> Create an HTML page with a heading "Welcome to My Site". </s> <|assistant|> <html> <head> <title>Welcome to My Site</title> </head> <body> <h1>Welcome to My Site</h1> </body> </html></s>
<|user|> Correct the syntax error in the following HTML structure. <div> <h1>My Web Page</h> <div/></s> <|assistant|> <div> <h1>My Web Page</h1> </div></s>
<|user|> Create an HTML form in which a user can input text and a button to submit. </s> <|assistant|> <html> <body> <form> <input type="text" name="input"> <input type="submit" value="Submit"> </form> </body> </html></s>
<|user|> Create a HTML page with a paragraph and a button to toggle the paragraph's text color between red and blue. </s> <|assistant|> <html> <head> <title>Color Toggle</title> <script> let isRed = true; let toggleButton = document.getElementById('toggle-button'); ...
<|user|> Create an HTML page containing two buttons. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Buttons</title> </head> <body> <input type="button" value="Button 1" /> <input type="button" value="Button 2" /> </body> </html></s>
<|user|> Using HTML and CSS, create a web page that lists all of the fruits in the given array. fruits = ["apple", "orange", "banana", "pear", "mango"]</s> <|assistant|> <html> <head> <title>Fruit List</title> </head> <body> <ul> <li>Apple</li> <li>Orange</li> <li>Banana</li> <li>Pear</li> <li>...
<|user|> Use JavaScript and HTML to create a form with 3 input fields and a submit button. </s> <|assistant|> <html> <head> <script> // JavaScript code </script> </head> <body> <form> <input type="text" name="field1" /> <input type="text" name="field2" /> <input type="text" name="field3" /> <...
<|user|> Construct a HTML page for a registration form. </s> <|assistant|> <html> <head> <title>Registration Form</title> </head> <body> <h1>Registration Form</h1> <form action="register.php" method="POST"> <div class="form-row"> <label>Username:</label> ...
<|user|> Generate a HTML code that will create an alert message with the text “You pressed the button!” </s> <|assistant|> <html> <head> <script> function alert_button(){ alert("You pressed the button!"); } </script> </head> <body> <button oncl...
<|user|> Create a HTML form to submit a text entry and view it after submission. </s> <|assistant|> <html> <head> <script> function submitForm(){ var formData = document.getElementById("textEntry").value; alert("You said: "+ formData); } </script> </head> <body> <form> ...
<|user|> Create a web page with HTML/CSS that consists of three circles of different colors and different sizes. </s> <|assistant|> <html> <head> <style> div { width: 100px; height: 100px; border-radius: 50%; } #circle1 { background-color: red; } #circle2 { ...
<|user|> Generate an HTML page on the browser with the text "Hello world." </s> <|assistant|> <html> <head> </head> <body> Hello world. </body> </html></s>
<|user|> Create a web page that prints out the return value of the following function call in the browser. function addTwoNumbers(a,b){ return a+b; }</s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>My Page</title> </head> <body> <p>The result of addTwoNumbers(1,2) is <span id=...
<|user|> Design a UI layout in HTML and CSS for an About Us page. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title> About Us </title> <style> body { font-family: Arial; } .container { width: 90%; margin: auto; padding: 10px; } .about-us-he...
<|user|> Create a web page with the headline "Welcome to Python programming". </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Welcome to Python Programming</title> </head> <body> <h1>Welcome to Python Programming</h1> </body> </html></s>
<|user|> Create an HTML page to display the employee details. Employee Name: Oliver Smith Age: 35 Role: Marketing Executive</s> <|assistant|> <html> <head> <title>Employee Details</title> </head> <body> <h1>Employee Details</h1> <p>Name: Oliver Smith</p> <p>Age: 35</p> <p>Role: Marketing Executive</p> </body> ...
<|user|> Write a web page in HTML to view a list of books </s> <|assistant|> <html> <head> <title>List of Books</title> </head> <body> <h1>List of Books</h1> <ul> <li>The Alchemist</li> <li>Life of Pi</li> <li>The Great Gatsby</li> <li>The Catcher in the Rye</li> <li>Harr...
<|user|> Create an HTML page displaying the results from a given query. </s> <|assistant|> <html> <head> <title>Query Results</title> </head> <body> <table> <thead> <tr> <th>Field1</th> <th>Field2</th> <t...
<|user|> Design an HTML page to display a timer with minutes and seconds. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Timer</title> </head> <body> <h1>Timer</h1> <p> <span id="minutes">00</span>:<span id="seconds">00</span> </p> <script> ...
<|user|> Edit the following HTML code to add a link to an external website. <div> <p>Hello!</p> </div></s> <|assistant|> <div> <p>Hello! <a href="https://www.example.com" target="_blank">Visit my website</a></p> </div></s>
<|user|> Create an HTML page that displays "Hello World!" when opened in a web browser. </s> <|assistant|> <html> <head> <title>Hello World!</title> </head> <body> <h1>Hello World!</h1> </body> </html></s>
<|user|> Create an HTML page with a table containing the name and age of 5 people. Name Age John 25 Lisa 22 Emily 19 George 21 Samuel 20</s> <|assistant|> <html> <head> <title>People Age Table</title> </head> <body> <table> <tr> <th>Name</th> <th>Age<...
<|user|> Generate an HTML page using the defined header and footer. Header: <head> <title>My Page</title> </head> Footer: <div id="footer"> <p>Copyright © 2020 MyPage</p> </div></s> <|assistant|> <html> <head> <title>My Page</title> </head> <body> <div id="content"> <h1>My Page</h1>...
<|user|> Write an HTML program to display a web page with a table, a heading, and a div </s> <|assistant|> <html> <head> <title> Sample Table </title> </head> <body> <h1>My Sample Table</h1> <table> <thead> <tr> <th>Col1</th> <th>Col2</th> </tr> </thead> <tbody> <tr> ...
<|user|> Make a HTML page that displays a table displaying numbers from 1 to 10. </s> <|assistant|> <html> <body> <h1>Table showing numbers from 1 to 10</h1> <table> <tr> <th>Number</th> </tr> <tr> <td>1</td> </tr> <tr> <td>2</td> </tr> <tr> ...
<|user|> Create an HTML page with a heading and two paragraphs. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>My Page</title> </head> <body> <h1>Welcome</h1> <p>This is the first paragraph in my page.</p> <p>This is the second paragraph in my page.</p> </body> </html></s>
<|user|> Design an HTML page using standard HTML tags which contains a heading and two paragraphs </s> <|assistant|> <html> <head> <title>Example</title> </head> <body> <h1>Heading</h1> <p>Paragraph 1</p> <p>Paragraph 2</p> </body> </html</s>
<|user|> Design a simple HTML page using standard HTML tags which contains an input box, a button and an output section </s> <|assistant|> <html> <head> <title>Example</title> </head> <body> <div> <input type="text" id="input"> <button type="submit" onclick="output()"...
<|user|> Create a tag cloud to visualize the most frequent words in the following sentence. The quick brown fox jumps over the lazy dog</s> <|assistant|> <div> <span class="tag" style="font-size: 300%;">The</span> <span class="tag" style="font-size: 200%;">quick</span> <span class="tag" style="font-size: 250%;">b...
<|user|> Create a website using HTML and CSS that displays "Hello, World!". </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Hello World</title> <style> body { background-color: #eee; text-align: center; padding: 20px; } h1 { font-family: sans-serif; font-size: 2em; letter-sp...
<|user|> Design a basic calculator using HTML, CSS, and JavaScript. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>HTML/CSS/Javascript Calculator</title> <style> * { box-sizing: border-box; } .calculator { width: 425px; background-color: #fafafa; padd...
<|user|> Create a web page that displays a message in different languages by using HTML, CSS, and JavaScript. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Hello World in Different Languages</title> <style> body { font-family: sans-serif; background-color: #eee; text-align: center; ...
<|user|> Design an interactive game using HTML, CSS and JavaScript. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Hunted Maze</title> <style> * { box-sizing: border-box; } body{ font-family: sans-serif; background-color: #eee; text-align: center; padding: 20px; ...