9 CSS ID Selectors

<Below this line, add a link to the exact exercise that you are stuck at.>
https://www.codecademy.com/en/courses/make-a-website/lessons/closer-look-css/exercises/id-selectors?action=resume
<Describe the problem. Which error message are you seeing?>
Error Message: “Cannot read property of testweb undefined”

  <p id="footer">&copy; Mystwood Publishers Limited</p>

I’m not sure what I’m doing wrong. I already know about ids and classes – I’ve been doing these exercises mainly as a refresher to HTML and CSS. What am I doing wrong?!

Can you paste in all of your HTML

<!DOCTYPE html>
<html>
<head>
	<title>Sprout</title>
	<link rel="stylesheet" type="text/css" href="main.css"/>
</head>
<body>
	<h1>Mystwood Publishers Ltd.</h1>
	<div class="hero">
		<h2>Sprout.</h2>
		<p>A book by J. Daniel Bedford</p>
		<a href="#">Read now.</a>
	</div>
  <p id="footer">&copy; Mystwood Publishers Limited</p>
</body>
</html>

Can you please send through a screen shot… I can’t see anything wrong with code

Hey! Somehow the issue resolved itself. (or they looked at my bug report)

I think it was some error in the platform itself – because I checked maybe 10x and tried so many different variations – and I received various different error codes.

Thanks!

Hey,

Thats great :slightly_smiling:

Maybe was a glitch, refreshing browser or switching browser can solve…

Happy Learning :slightly_smiling:
Happy coding !

What inspired you to learn programming/coding?
Join the discussion