D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
yopoku
Full window
Github gist
Leveraging Web Data Class 5 Lab Yaw Opoku Adarkwa
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Yaw Opoku Adarkwa</title> <style type="text/css"> h1 { text-align: center; } p { color:red; } button { background-color: #4CAF50; /* Green */ border: none; color: blue; padding: 15px 32px; text-align: center; display: inline-block; font-size: 16px; } </style> </head> <body> <h1>Leveraging Web Data Class 5 Lab</h1> <br> <h2>Web Development Resources</h2> <ul> <li><a href="https://www.w3schools.com/html/default.asp" target="_blank">W3 HTML Resources</a></li> <li><a href="https://www.w3schools.com/css/default.asp" target="_blank">W3 CSS Resources</a></li> <li><a href="https://www.w3schools.com/css/default.asp" target="_blank">W3 JavaScript Resources</a></li> </ul> <h2>Questions and Answers</h2> <h4>Change the text of the title tag in the head section to your name.</h4> <br> <h4>Describe the three components of the HTML document (HTML, CSS, JavaScript).</h4> <p>HTML-Structure and content</p> <p>CSS- Adds style to the page</p> <p>JavaScript - Provides interaction with the web page</p> <br> <h4>Name and describe four distinct HTML tags.</h4> <p>Title tag- Shows the title of the page</p> <p>Body tag- describes the content</p> <p>P tag- Defines a paragraph</p> <p>Head tag-Defines HTML headings</p> <br> <h4>Identify an HTML tag that does not require an end tag.</h4> <p>The br tag does not need an end tag.I defines a line break</p> <br> <h4>Read this page on <a href="https://www.w3schools.com/css/css_syntax.asp" target="_blank">CSS Syntax</a> then name and describe element selectors, id selectors, and class selectors.</h4> <p>The element selector selects elements based on the element name. </p> <p>The id selector uses the id attribute of an HTML element to select a specific element. </p> <p>The class selector selects elements with a specific class attribute.</p> <br> <h4>Change the color of the text in all '<p>' tags. Describe how you did it. Color must be clear and discernable from the white background.</h4> <p>Within the style tag,I assigned the color red to the text in paragraph</p> <br> <h4>Create an <a href="https://www.w3schools.com/tags/tag_button.asp" target="_blank">HTML button</a> between this tag and the '<br>' tag below. Add custom text to the button and <a href="https://www.w3schools.com/css/css3_buttons.asp" target="_blank">style the button</a>.</h4> <br> <button type="button">click me</button> <script type="text/javascript"> </script> </body> </html>