Invalid 'instanceof' operand s.DeferredSignal?!?!?


#1



I keep getting this stupid message, when I am following the learn instructions to the letter. It is frustrating to say the least.

https://www.codecademy.com/en/courses/make-a-website/lessons/site-structure/exercises/add-image?action=resume


Every exercise I do, it just comes back with: invalid 'instanceof' operand s.DeferredSignal...if I run the code 2/3 times, it then offers to change the code for me. However the new code looks exactly like mine.


=<!DOCTYPE html>
<html>
<head>
  <title>Ollie Bike Sharing</title>
  <meta charset="utf-8"/>
  <link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
  <h1>Ollie Bike Sharing</h1>
  <h3>Share Your Pedals with the World.</h3>
  <p>Need a set of wheels while you're in town? Use Ollie to pair your perfect vacation with a stylish, affordable bike rental. Here is a <a href="cities.html">list</a> of cities where you can find us.</p>
  <img src="https://s3.amazonaws.com/codecademy-content/projects.make-a-website/lesson-1/bikes.jpg"/>
  
</body>
</html>


#2

@futurelands,
The img =source=
https://s3.amazonaws.com/codecademy-content/projects.make-a-website/lesson-1/bikes.jpg
you use, gives a HTTP-error 403,
from
http://stackoverflow.com/questions/33035607/error-403-download-failed
[quote]
A 403 response generally indicates one of two conditions:

  • Authentication was provided, but the authenticated user is not permitted to perform the requested operation.
  • The operation is forbidden to all users. For example, requests for a directory listing return code 403 when directory listing has been disabled.

[end quote]
which leads to the DOT you are using in the path of your =source=
=...../codecademy-content /projects.make-a-website/lesson-1/bikes.jpg

https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-1/bikes1.jpg


#3

@futurelands,
It would be of interest to know which Browser and operating system you are using.....


#4

Hi,

The web adress for the picture was wrong, I noticed that after I posted the code. However I corrected it and still am getting the error message. I didn't really fully understand your first message. I am very much simple when it comes to computers.

I am using FireFox, however I tried it on Chrome and got the same message too. It wasn't just this one piece of code. It's every exercise so far is giving me the same message.


#5

@futurelands,
Have you done a refresh Browser
Always refresh the browser after making corrections:
CTRL f5 ( if on Windows or Linux)
CMD r ( if on a MAC).
CTRL 0 to reset browser zoom

You have mentioned your Browsers Chrome & Firefox
which Operating System ???


#6

I'm using Windows 10. Yes, I tried the refresh. Any idea what might be the issue?


#7

Can you paste in a screenshot ?

Have you tried switching browsers ?
Are you working from home/work/school ?


#8

A post was split to a new topic: CSS declarations - error


#9