The text file includes an <a> tag that successfully links the web page to another website.
We're going to continue with the work we did during the previous classes, spending some time adding to it.
We're still doing work that's taught to 8th grade, but we are going at a slower pace than what is expected for them.
This is one of those lessons where the video tutorial is super important. If you aren't in class, you NEED to watch it.
We'll begin by opening a basic text editor.
On the Windows computers in the lab, that's Notepad.
If you're doing this on a Mac at home, that's TextEdit.
Mr. Smith likes using Linux, he'll be using a program literally called "Text Editor."
Mr. Smith's 8th graders use a fancier program called "VS Codium," which you're also allowed to use, but this is far from a requirement.
(Even Chromebooks have text editors, though Mr. Smith doesn't use those.)
Find and open your index.html file in your Documents folder. (Remember that we backed our work up to Google Drive last class, your work should be there if you're working from home.
In your index.html file, look for a good place between <body> and </body> where you could link to another website.
For example, if my website included "I like to put my lessons on FouloisTech.info for my students to see," I might want to make that sentence into a link.
The following code lets me do that.
<a href="https://fouloistech.info">I like to put my lessons on FouloisTech.info for my students to see.</a>
Whatever's between the quotation marks is the URL, or "web address." If it's pointing to another website, it needs to include the "https://..." in front of it. If it's pointing to another page on the same site, the file name might be enough.
Whatever's between the <a> and </a> tags shows up as the link, usually underlined and a different color from the rest of the text on the website. You can even use these tags around an image tag to make the image be a link!
If you break something, CTRL-Z is useful! If you need to start over, the starting code is right there to copy.