Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I am creating a webpage using html and javscript. I have the html part done. Whe

ID: 3936660 • Letter: I

Question

I am creating a webpage using html and javscript. I have the html part done. When I click bulletPoints, it outputs the text "I am red" in color of red and "i am blue" in the color of blue onto the new, blank webpage. Each line of text must have a bullet point next to it. Here is my html code:

<tr>
       <td> Entities</td>
       <td> Outputs bullet point text</td>
       <td> <button>text</button></td>
   </tr>

Explanation / Answer

This can go something like this:

<tr>
       <td> Entities</td>
       <td> Outputs bullet point text</td>
       <td> <button>text</button></td>
   </tr>

<script>
function bulletPoints(){

document.write("<ul><li>Unordered list item 1</li><li>Unordered list item 2</li><li>Unordered list item 3</li></ul>");

}