<html>
<body>
<p>Hello World</p>
<img src="/cats.jpg" alt="a picture of my cats"></img>
</body>
</html>
Note: You'll get an error message if you don't have the semicolon at the end of each line!
<p>my paragraph</p><p>tag.
body {
background-color: red;
color: white;
}
img {
max-width: 95vw;
}
Note: You'll get an error message if you don't have the semicolon at the end of each line!
Get to your dashboard by clicking the chevron in the top right, and then clicking "Edit"
ctrl + r, you don't need to hit the "View" button each time.If your changes aren't showing, try refreshing multiple times.
If that still doesn't work, try opening the developer tools (see section below), right clicking on the refresh button in your browser, and clicking "Empty Cache and Hard Reload".
ctrl + / to "comment out" a line so it's not active on your website.ctrl + i usually works too!This is all for fun, and the basic HTML and CSS we're using today are accessible out of the box, so don't worry too much about this right now.
But as your website gets more complicated you should try to make sure it's comfy for as many people as possible.
Some things to ask yourself are:
<p> instead of <div>?