Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDavid Regel
Full Stack JavaScript Techdegree Student 5,504 PointsI get an error after implementing basehold.it to my HTML-file
These are the first 21 lines of my HTML-file:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CSS Zen Garden: The Beauty of CSS Design</title>
<link rel="stylesheet" media="screen" href="style.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.csszengarden.com/zengarden.xml">
<link rel="stylesheet" href="//basehold.it/32">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Dave Shea">
<meta name="description" content="A demonstration of what can be accomplished visually through CSS-based design.">
<meta name="robots" content="all">
<!--[if lt IE 9]>
<script src="script/html5shiv.js"></script>
<![endif]-->
</head>
The console in my chrome browser shows this error-message: "GET file://basehold.it/32 0 ()".
Do you know what I just did wrong?
1 Answer
Steven Parker
231,269 PointsI'm guessing you load this from a local file instead of from a web server, and so it's using the wrong protocol on the abbreviated href. Try using a full URL on that link:
<link rel="stylesheet" href="http://basehold.it/32">