Hi! Im trying to do a simple exercise in my computer science class where I use Notepad to write html and .css code, and then open the file in Chrome. I am supposed to use css to change two elements of my text. I have figured out how to do inline indentation, but for whatever reason I can't get the color to change. Also, I do not know why, but I cannot figure out how to get the image to load properly. I've copied my code below. Welcome! Vintage Values Shop pre loved denim from great brands for even greater prices. We carry Levi's, Rollas, 7 for All Mankind, and more! Scroll through our inventory below to find your perfect pair-- they really do exist! Rollas Originals High Rise Price $48 Condition: Excellent Size 28x34 Levi's 501s Ribcage Price $48 Condition: Good Size 36x32 What are the benefits of shopping second hand? The ease associated with purchasing denim often shrouds the true costs of making a pair. From human rights to water use concerns, denim production is one of the most environmentally damaging processes. Explore the links below to learn more about how buying second hand is good for both the world and your wallet! https://www.ecowatch.com/environmental-cost-jeans-2544519658.h Thanks!
Hi! Im trying to do a simple exercise in my computer science class where I use Notepad to write html and .css code, and then open the file in Chrome. I am supposed to use css to change two elements of my text. I have figured out how to do inline indentation, but for whatever reason I can't get the color to change. Also, I do not know why, but I cannot figure out how to get the image to load properly. I've copied my code below.
<html>
<head>
<title> Welcome! </title>
</head>
<br>
</br>
<h1 style=”color:pink;text-align:center;”> Vintage Values </h1>
<p>
Shop pre loved denim from great brands for even greater prices.
We carry <b> Levi's, Rollas, 7 for All Mankind, </b> and more! Scroll through our inventory below to find your perfect pair--<b> they really do exist! </b>
</p>
<ol>
<li> Rollas Originals High Rise </li>
<img src="rollas1.jpg" width "200" height="220" "alt="mountain view" />
<img src="rollas2.jpg" width "200" height="220" "alt="mountain view" />
<table>
<tr> <th>Price</th> <th>$48 </th> </tr>
<tr> <td>Condition:</td> <td>Excellent</td> </tr>
<tr> <td>Size</td> <td>28x34</td> </tr>
</table>
<br>
</br>
<li> Levi's 501s Ribcage </li>
<img scr="5012.jpg" width"200" height="220" "alt="mountain view" />
<img src="5013.jpg" width"200" height="220" "alt="mountain view" />
<table>
<tr> <th>Price</th> <th>$48 </th> </tr>
<tr> <td>Condition:</td> <td>Good</td> </tr>
<tr> <td>Size</td> <td>36x32</td> </tr>
</table>
</ol>
<h2> What are the benefits of shopping second hand? </h2>
<p> The ease associated with purchasing denim often shrouds the true costs of making a pair. From human rights to water use concerns, denim production is one of the most environmentally damaging processes. Explore the links below to learn more about how buying second hand is good for both the world and your wallet!
</p>
<link1>
https://www.ecowatch.com/environmental-cost-jeans-2544519658.h
Thanks!
The correct code is given below along with output screenshot
Also, an explanation is given at the last step explaining why you were not getting the expected output
Happy to help you ?
Step by step
Solved in 5 steps with 3 images