Stuck in 7/10 Instructions 4


I'm stuck on Making A Website: font-size (7/10), Instruction 4

When I try to run this code nothing happened, and Instruction 4 not solved

.hero a {
padding: 250px 0;
margin: 30px;
font-family: 'Trebuchet MS', Helvetica, sans-serif;
font-size: 1.25em;


Can you post the link to your code?


Have you tried a refresh Browser

General Notes:
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



yes i do that, i don't understand where is the error?


I can only guess that you changed the main.css
as the .hero and the .hero a selectors are different......

.hero {
  font-family: 'Trebuchet MS',Helvetica,sans-serif;
	padding: 250px 0;
	margin: 30px;
  background-image: url("");
  background-size: cover;
  color: #ffffff;

p {
   font-size: 2rem;

.hero a {
	color: #00FFAA;
	font-size: 1.25em;
	text-decoration: none;


Remember to write your CSS for the correct selector. The .hero and .hero a selectors are different, as @leonhard.wettengmx.n mentioned. What is the error message being displayed?


yes, thanks a lot relly i didn't nots that befor the problem is solved


This topic was automatically closed after 7 days. New replies are no longer allowed.