text
stringlengths
69
2.38k
<s>[INST] <<SYS>> Generate a HTML page with 3 columns using Bootstrap. <</SYS>> [/INST] <!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...
<s>[INST] <<SYS>> Create a HTML page that shows the data provided in an interactive table. <</SYS>> 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" } ] [/INST] <html> <head> <title>...
<s>[INST] <<SYS>> Create an HTML page that displays one web page with two vertical panenls. <</SYS>> [/INST] <html> <head> <style> #left, #right{ height: 300px; width: 200px; float: left; padding: 10px; background-color: #ddd; } </style> </head> <body> ...
<s>[INST] <<SYS>> Generate an HTML page which contains the following elements: a heading, a paragraph, and a button. <</SYS>> [/INST] <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>C...
<s>[INST] <<SYS>> Write an HTML program to create a simple page layout. <</SYS>> [/INST] <!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>
<s>[INST] <<SYS>> Edit the following HTML document and add a CSS style to changes the background color to blue. <</SYS>> <html> <head> </head> <body> <h1>Hello, World!</h1> </body> </html> [/INST] <html> <head> <style> body { background-color: blue; } </style> </head> <body...
<s>[INST] <<SYS>> How would you edit the following HTML code so that it displays content in two columns? <</SYS>> <div> <p>This is the content</p> </div> [/INST] <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 conten...
<s>[INST] <<SYS>> Create an HTML page design for displaying a website homepage. <</SYS>> [/INST] <!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> ...
<s>[INST] <<SYS>> Create a web page using HTML and CSS which displays a user interface for a calculator. <</SYS>> [/INST] <html> <head> <title>Calculator Webpage</title> </head> <body> <h1>Calculator</h1> <div class="container"> <div class="display"> <p>0<...
<s>[INST] <<SYS>> Update the following HTML page so that it refreshes the page every 5 seconds. <</SYS>> <html> <head> <title>My Webpage</title> </head> <body> Hello World! </body> </html> [/INST] <html> <head> <title>My Webpage</title> <meta http-equiv="refresh" content="5"> </head> <body> Hello World...
<s>[INST] <<SYS>> Make an HTML webpage with a heading "Welcome to my webpage!" and a paragraph with the text "This is my first webpage!". <</SYS>> [/INST] <!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> <...
<s>[INST] <<SYS>> Modify the CSS in the given HTML code to style the web page <</SYS>> <html> <head> <title>Styled Page</title> </head> <body> <h1>Styled Page</h1> </body> </html> [/INST] <html> <head> <title>Styled Page</title> <style type="text/css"> body { background-color: white; } ...
<s>[INST] <<SYS>> Create an HTML page that has two paragraphs, a heading and a link to a website. <</SYS>> Link: https://example.com Heading: Example Website Paragraph 1: This is the first paragraph. Paragraph 2: This is the second paragraph. [/INST] <html> <head> <title>Example Website</title> </head> ...
<s>[INST] <<SYS>> Edit the following HTML page to add a new heading and a link. <</SYS>> <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 [/INST] <html> <head> <title>Example Site</titl...
<s>[INST] <<SYS>> Edit the following HTML code to allow Google Chrome to accurately render the page. <</SYS>> <html> <head> <title>My Webpage</title> </head> <body> <table> <tr> <th>Column 1</th> <th>Coloumn 2</th> </tr> </body> </html> [/INST] <html> <head> <title>My Webpage</title> </head> <...
<s>[INST] <<SYS>> Design a basic HTML page with a header, footer and a body section. <</SYS>> [/INST] <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>
<s>[INST] <<SYS>> Write a HTML/CSS code to implement responsive design <</SYS>> [/INST] <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"> <!--...
<s>[INST] <<SYS>> Construct an HTML form as a comment in the below code. <</SYS>> <div> <!-- TODO: Add a form here --> </div> [/INST] <div> <!-- <form action="submit.php" method="post"> <label for="name">Name:</label><br> <input type="text" id="name" name="name"><br><br> <label for="...
<s>[INST] <<SYS>> Create a function in HTML that checks to make sure the provided input is an integer <</SYS>> [/INST] <html> <head> <script> function checkInteger(number) { if(typeof number == 'number') { if(Math.floor(number) == number) return true; ...
<s>[INST] <<SYS>> Write an HTML page which takes in user input and makes an AJAX request to a web server. <</SYS>> [/INST] <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(){ ...
<s>[INST] <<SYS>> Replace the placeholder in the given HTML document with the corresponding table. <</SYS>> <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> ...
<s>[INST] <<SYS>> Write a basic HTML page with a div and an unordered list. <</SYS>> [/INST] <!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>
<s>[INST] <<SYS>> Using the provided HTML structure and jQuery code, change the background color to green when the button is clicked. <</SYS>> <div> <h1>Hello World!</h1> <button>Click me!</button> </div> <script> $(document).ready(function(){ $("button").click(function(){ //TODO: Add code h...
<s>[INST] <<SYS>> Create an HTML/CSS web page from the following text content. <</SYS>> My favorite food is sushi. [/INST] <html> <head> <title>Sushi</title> <style> // Styling for the page p { font-family: Arial; font-size: 18px; }...
<s>[INST] <<SYS>> Create an HTML document to display the following text: <</SYS>> Welcome to our website! [/INST] <html> <head> <title>Welcome to our Website!</title> </head> <body> <h1>Welcome to our Website!</h1> </body> </html> </s>
<s>[INST] <<SYS>> Generate an HTML page to display text <</SYS>> The text to be displayed: "Hello World" [/INST] <html> <head> <title>Hello World</title> </head> <body> <h1>Hello World</h1> </body> </html> </s>
<s>[INST] <<SYS>> Create an HTML and CSS layout to display a list of books with their author, title and description. <</SYS>> 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, Descriptio...
<s>[INST] <<SYS>> Create a HTML & CSS website template featuring a header with a website logo. <</SYS>> [/INST] <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 Co...
<s>[INST] <<SYS>> Write an HTML page that displays one heading and two paragraphs. <</SYS>> [/INST] <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <h1>Heading</h1> <p>Paragraph 1</p> <p>Paragraph 2</p> </body> </html> </s>
<s>[INST] <<SYS>> Create an HTML page that includes three buttons with labels "A", "B" and "C". <</SYS>> [/INST] <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <button>A</button> <button>B</button> <button>C</button> </body> </html> </s>
<s>[INST] <<SYS>> Create an HTML web page that contains two text fields and two buttons <</SYS>> [/INST] <!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="Inpu...
<s>[INST] <<SYS>> Use the given HTML markup to generate a web page with a headline, body and paragraphs. <</SYS>> <h1>My web page</h1> [/INST] <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> </...
<s>[INST] <<SYS>> Create an HTML page that displays the following text in the body: "Hello World!". <</SYS>> [/INST] <html> <head> </head> <body> Hello World! </body> </html> </s>
<s>[INST] <<SYS>> Generate a valid HTML document. <</SYS>> [/INST] <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>
<s>[INST] <<SYS>> Write an HTML program to display an output as a table. <</SYS>> [/INST] <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> <...
<s>[INST] <<SYS>> Create an HTML page that displays a list of users and their ages. <</SYS>> Alice: 25 Bob: 27 Carol: 30 [/INST] <!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...
<s>[INST] <<SYS>> Create a Drupal 8 theme that implements a 3 column layout with a header, side bar, content and footer. <</SYS>> [/INST] <html> <head> <title>{{ site.name }}</title> <style> body { display: flex; flex-direction: column; } ...
<s>[INST] <<SYS>> Create a HTML page with an ordered list of items using <</SYS>> Five items: apple, banana, orange, strawberry, and lemon. [/INST] <html> <body> <ol> <li>Apple</li> <li>Banana</li> <li>Orange</li> <li>Strawberry</li> <li>Lemon</li> </ol> </body> </html> </s>
<s>[INST] <<SYS>> Develop a web page that displays the current temperature in various cities. <</SYS>> [/INST] <!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> <di...
<s>[INST] <<SYS>> Generate an HTML element <</SYS>> [/INST] <html> <body> </body> </html> </s>
<s>[INST] <<SYS>> Write an HTML page including 1 form element <</SYS>> Form Element: text area control [/INST] <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"> </f...
<s>[INST] <<SYS>> Generate a HTML code to display a basic webpage with <</SYS>> Heading: Welcome Text: Hello World! [/INST] <html> <head> <title>Welcome</title> </head> <body> <h1>Welcome</h1> <p>Hello World!</p> </body> </html> </s>
<s>[INST] <<SYS>> Create an HTML page with a layout consisting of 3 containers: one on the left and two on the right. <</SYS>> [/INST] <html> <head> </head> <style> #container{ width: 100%; display: flex; } #left-container{ width: 20%; } ...
<s>[INST] <<SYS>> Set up a basic HTML page with a title that says "My Web Page". <</SYS>> [/INST] <!DOCTYPE html> <html> <head> <title>My Web Page</title> </head> <body> </body> </html> </s>
<s>[INST] <<SYS>> Generate an HTML form in PHP to gather user information such as name and address. <</SYS>> [/INST] <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 t...
<s>[INST] <<SYS>> Create an HTML webpage with a main navigation at the top. <</SYS>> [/INST] <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=...
<s>[INST] <<SYS>> Generate a proper HTML page. <</SYS>> [/INST] <!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>
<s>[INST] <<SYS>> Create an HTML page that displays the Date and Time in the header. <</SYS>> [/INST] <html> <head> <title>Date and Time</title> </head> <body> <h3 id="date"><script>document.getElementById("date").innerHTML = Date()</script></h3> </body> </html> </s>
<s>[INST] <<SYS>> Design a user interface in HTML for a login form. <</SYS>> [/INST] <!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" n...
<s>[INST] <<SYS>> Design a web page in HTML5 with a heading, a paragraph and a button. <</SYS>> [/INST] <!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>
<s>[INST] <<SYS>> Generate HTML code to create a login page with a username and password field. <</SYS>> [/INST] <!DOCTYPE html> <html> <head> <title>Login</title> </head> <body> <div> <h1>Login</h1> <form id="loginForm" action="" method="post"> <label>Username:</label> <input ...
<s>[INST] <<SYS>> Create an HTML document with a heading "Heading" and a paragraph with the text "Hello, World!" <</SYS>> [/INST] <!DOCTYPE html> <html> <head> <title>Example Document</title> </head> <body> <h1>Heading</h1> <p>Hello, World!</p> </body> </html> </s>
<s>[INST] <<SYS>> Edit the given HTML code to create a paragraph element. <</SYS>> <div>Hello World!</div> [/INST] <div><p>Hello World!</p></div> </s>
<s>[INST] <<SYS>> Develop an HTML page in which you can display a message to the user. <</SYS>> [/INST] <html> <head> <title>Display Message</title> </head> <body> <div> <h1>Welcome!</h1> <p>This page displays a message to the user.</p> </div> </body> </ht...
<s>[INST] <<SYS>> Write a HTML structure using semantic tags to list the skills of a web developer. <</SYS>> HTML, CSS, JavaScript, React [/INST] <!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> <...
<s>[INST] <<SYS>> Write a HTML to generate a form to login. <</SYS>> [/INST] <!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 ty...
<s>[INST] <<SYS>> Create HTML code for a web page that has a centered title, a logo, and a colorscheme. <</SYS>> Title: "My Website" Logo: <link to logo file> Color Scheme: #123456, #234567, #345678 [/INST] <html> <head> <title>My Website</title> </head> <body> <h1 align="center">My Website</h1> <img src="<link to log...
<s>[INST] <<SYS>> Create HTML code for a table that has 7 columns and 3 rows. <</SYS>> [/INST] <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...
<s>[INST] <<SYS>> Design a HTML page to display a table of students’ grades for a specific subject. <</SYS>> [/INST] <!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; } ...
<s>[INST] <<SYS>> Create an HTML page with a basic calculator form that takes two numbers as inputs and computes and displays the sum. <</SYS>> [/INST] <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Calculato...
<s>[INST] <<SYS>> Develop a CSS/HTML page with a 3-column layout and a sticky navigation bar. <</SYS>> [/INST] <!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 { di...
<s>[INST] <<SYS>> Create a web page with an input field and a button to reset the field. <</SYS>> [/INST] <!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> <inpu...
<s>[INST] <<SYS>> Edit the given HTML code to add a title tag inside the head tag. <</SYS>> <html> <head> </head> <body> <h1>My Website</h1> </body> </html> [/INST] <html> <head> <title>My Website</title> </head> <body> <h1>My Website</h1> </body> </html> </s>
<s>[INST] <<SYS>> Create a HTML page that takes your name as input and welcomes you on page load. <</SYS>> [/INST] <html> <body> <script> function onPageLoad() { var name = prompt('Please enter your name: '); alert('Welcome ' + name + '!'); } onPageLoad(); </script> </body> </html> </s>
<s>[INST] <<SYS>> Create a webpage using HTML and CSS that has a navigation bar with a logo, five links to different webpages, and a footer. <</SYS>> [/INST] <!DOCTYPE html> <html> <head> <title>My Webpage</title> <meta charset="utf-8"> <style> body { background-color: #f1f1f1; }...
<s>[INST] <<SYS>> Create an HTML page with a form that has two inputs: Name and Email. <</SYS>> [/INST] <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> ...
<s>[INST] <<SYS>> Using HTML/CSS and JavaScript, construct a web page that generates a random password. <</SYS>> [/INST] <!DOCTYPE html> <html> <head> <title>Random Password Generator</title> <script src="generate.js"></script> <style> body { background-color: lightblue; } #container {...
<s>[INST] <<SYS>> Create an HTML page with a heading "Welcome to My Site". <</SYS>> [/INST] <html> <head> <title>Welcome to My Site</title> </head> <body> <h1>Welcome to My Site</h1> </body> </html> </s>
<s>[INST] <<SYS>> Correct the syntax error in the following HTML structure. <</SYS>> <div> <h1>My Web Page</h> <div/> [/INST] <div> <h1>My Web Page</h1> </div> </s>
<s>[INST] <<SYS>> Create an HTML form in which a user can input text and a button to submit. <</SYS>> [/INST] <html> <body> <form> <input type="text" name="input"> <input type="submit" value="Submit"> </form> </body> </html> </s>
<s>[INST] <<SYS>> Create a HTML page with a paragraph and a button to toggle the paragraph's text color between red and blue. <</SYS>> [/INST] <html> <head> <title>Color Toggle</title> <script> let isRed = true; let toggleButton = document.getElementById('toggle-button'); ...
<s>[INST] <<SYS>> Create an HTML page containing two buttons. <</SYS>> [/INST] <!DOCTYPE html> <html> <head> <title>Buttons</title> </head> <body> <input type="button" value="Button 1" /> <input type="button" value="Button 2" /> </body> </html> </s>
<s>[INST] <<SYS>> Using HTML and CSS, create a web page that lists all of the fruits in the given array. <</SYS>> fruits = ["apple", "orange", "banana", "pear", "mango"] [/INST] <html> <head> <title>Fruit List</title> </head> <body> <ul> <li>Apple</li> <li>Orange</li> <li>Banana</li> <li>Pear</li> ...
<s>[INST] <<SYS>> Use JavaScript and HTML to create a form with 3 input fields and a submit button. <</SYS>> [/INST] <html> <head> <script> // JavaScript code </script> </head> <body> <form> <input type="text" name="field1" /> <input type="text" name="field2" /> <input type="text" name="field3" /...
<s>[INST] <<SYS>> Construct a HTML page for a registration form. <</SYS>> [/INST] <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> ...
<s>[INST] <<SYS>> Generate a HTML code that will create an alert message with the text “You pressed the button!” <</SYS>> [/INST] <html> <head> <script> function alert_button(){ alert("You pressed the button!"); } </script> </head> <body> <butt...
<s>[INST] <<SYS>> Create a HTML form to submit a text entry and view it after submission. <</SYS>> [/INST] <html> <head> <script> function submitForm(){ var formData = document.getElementById("textEntry").value; alert("You said: "+ formData); } </script> </head> <body> <for...
<s>[INST] <<SYS>> Create a web page with HTML/CSS that consists of three circles of different colors and different sizes. <</SYS>> [/INST] <html> <head> <style> div { width: 100px; height: 100px; border-radius: 50%; } #circle1 { background-color: red; } #circle2...
<s>[INST] <<SYS>> Generate an HTML page on the browser with the text "Hello world." <</SYS>> [/INST] <html> <head> </head> <body> Hello world. </body> </html> </s>
<s>[INST] <<SYS>> Create a web page that prints out the return value of the following function call in the browser. <</SYS>> function addTwoNumbers(a,b){ return a+b; } [/INST] <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>My Page</title> </head> <body> <p>The result of addTwoNumbers(1,2) is <...
<s>[INST] <<SYS>> Design a UI layout in HTML and CSS for an About Us page. <</SYS>> [/INST] <!DOCTYPE html> <html> <head> <title> About Us </title> <style> body { font-family: Arial; } .container { width: 90%; margin: auto; padding: 10px; } .abou...
<s>[INST] <<SYS>> Create a web page with the headline "Welcome to Python programming". <</SYS>> [/INST] <!DOCTYPE html> <html> <head> <title>Welcome to Python Programming</title> </head> <body> <h1>Welcome to Python Programming</h1> </body> </html> </s>
<s>[INST] <<SYS>> Create an HTML page to display the employee details. <</SYS>> Employee Name: Oliver Smith Age: 35 Role: Marketing Executive [/INST] <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> ...
<s>[INST] <<SYS>> Write a web page in HTML to view a list of books <</SYS>> [/INST] <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> <...
<s>[INST] <<SYS>> Create an HTML page displaying the results from a given query. <</SYS>> [/INST] <html> <head> <title>Query Results</title> </head> <body> <table> <thead> <tr> <th>Field1</th> <th>Field2</th> ...
<s>[INST] <<SYS>> Design an HTML page to display a timer with minutes and seconds. <</SYS>> [/INST] <!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>...
<s>[INST] <<SYS>> Edit the following HTML code to add a link to an external website. <</SYS>> <div> <p>Hello!</p> </div> [/INST] <div> <p>Hello! <a href="https://www.example.com" target="_blank">Visit my website</a></p> </div> </s>
<s>[INST] <<SYS>> Create an HTML page that displays "Hello World!" when opened in a web browser. <</SYS>> [/INST] <html> <head> <title>Hello World!</title> </head> <body> <h1>Hello World!</h1> </body> </html> </s>
<s>[INST] <<SYS>> Create an HTML page with a table containing the name and age of 5 people. <</SYS>> Name Age John 25 Lisa 22 Emily 19 George 21 Samuel 20 [/INST] <html> <head> <title>People Age Table</title> </head> <body> <table> <tr> <th>Name</th> ...
<s>[INST] <<SYS>> Generate an HTML page using the defined header and footer. <</SYS>> Header: <head> <title>My Page</title> </head> Footer: <div id="footer"> <p>Copyright © 2020 MyPage</p> </div> [/INST] <html> <head> <title>My Page</title> </head> <body> <div id="content"> <h1>My P...
<s>[INST] <<SYS>> Write an HTML program to display a web page with a table, a heading, and a div <</SYS>> [/INST] <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> ...
<s>[INST] <<SYS>> Make a HTML page that displays a table displaying numbers from 1 to 10. <</SYS>> [/INST] <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> ...
<s>[INST] <<SYS>> Create an HTML page with a heading and two paragraphs. <</SYS>> [/INST] <!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>
<s>[INST] <<SYS>> Design an HTML page using standard HTML tags which contains a heading and two paragraphs <</SYS>> [/INST] <html> <head> <title>Example</title> </head> <body> <h1>Heading</h1> <p>Paragraph 1</p> <p>Paragraph 2</p> </body> </html </s>
<s>[INST] <<SYS>> Design a simple HTML page using standard HTML tags which contains an input box, a button and an output section <</SYS>> [/INST] <html> <head> <title>Example</title> </head> <body> <div> <input type="text" id="input"> <button type="submit" onclick="ou...
<s>[INST] <<SYS>> Create a tag cloud to visualize the most frequent words in the following sentence. <</SYS>> The quick brown fox jumps over the lazy dog [/INST] <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: ...
<s>[INST] <<SYS>> Create a website using HTML and CSS that displays "Hello, World!". <</SYS>> [/INST] <!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; le...
<s>[INST] <<SYS>> Design a basic calculator using HTML, CSS, and JavaScript. <</SYS>> [/INST] <!DOCTYPE html> <html> <head> <title>HTML/CSS/Javascript Calculator</title> <style> * { box-sizing: border-box; } .calculator { width: 425px; background-color: #fafafa; ...
<s>[INST] <<SYS>> Create a web page that displays a message in different languages by using HTML, CSS, and JavaScript. <</SYS>> [/INST] <!DOCTYPE html> <html> <head> <title>Hello World in Different Languages</title> <style> body { font-family: sans-serif; background-color: #eee; text-align: ce...
<s>[INST] <<SYS>> Design an interactive game using HTML, CSS and JavaScript. <</SYS>> [/INST] <!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: 2...