Welcome to the Treehouse Community
Looking to learn something new?
Am I supposed to be able to click on the little icon in Workspaces that looks like an eye to view the a webpage?
Am I supposed to be able to click on the little icon in "Workspaces" that looks like an eye to preview the webpage after following along with the video writing HTML? Because I click on that icon and it brings me to a page written by the instructor very early on in the course that looks nothing like what I am working on currently.
Steven Parker216,164 Points
Based on my experience, it will take you to the virtual website created by your workspace, but not necessarily to the page you are editing. Unless you happen to be editing the site's default landing page (usually "index.html"), you will need to add the name of your page file to the URL that pops up in your browser. Of course, you will place a slash (/) between the original URL and your filename.
So, for example, if the browser opened to:
But you are editing "mypage.html", just change your browser URL to:
....and then reload to view your page.
Workspaces is a tool you can use to create your our work, what appears in a workspace when you create one is a starting place set up by the instructor - you will need to follow along and make edits as you move through the videos. Hope this helps,
Thanks Steven and Greg for taking the time to answer my question. It works now. I wrote the code in the index.html page. After clicking the icon, I refreshed the page and it took me to a hyperlink that just said "index". When I clicked the hyperlink, it loaded the most recent script.