Within the article element, directly below the h2 element, enter the opening and closing tags of a script element on separate lines. Within the script insert a JavaScript line comment containing the text create ordered list. Below the line comment, insert multiple document.write() commands to write the following HTML code for an ordered list: Reduce spending on non-necessities. Use extra money to pay off debt, starting with highest-interest credit cards. Continue paying off debts until you are debt free. Put a fixed percent of your pay aside every payday. Save your work and open html file in your web browser. Verify the content of the page resembles that shown in Figure 1-23. A numbered list containing four items should be displayed below the h2 heading “Financial Planning Tips,” as shown in Figure 1-23.
Within the article element, directly below the h2 element, enter the opening and closing tags of a script element on separate lines.
Within the script insert a JavaScript line comment containing the text create ordered list.
Below the line comment, insert multiple document.write() commands to write the following HTML code for an ordered list:
<ol>
<li>Reduce spending on non-necessities.</li>
<li>Use extra money to pay off debt,
starting with highest-interest credit cards.</li>
<li>Continue paying off debts until you are debt free.</li>
<li>Put a fixed percent of your pay aside every payday.</li>
</ol>
Save your work and open html file in your web browser. Verify the content of the page resembles that shown in Figure 1-23. A numbered list containing four items should be displayed below the h2 heading “Financial Planning Tips,” as shown in Figure 1-23.


Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images









