ok. this seems to be what’s displayed in the help video (ive got this far and never watched a video before… and from what i can tell, my code is the same as the code displayed there).
however this is being returned as incorrect.
is this a bug or am i missing something really, really obvious? i’m dying to know what the problem is!
something looks wrong about the p element structuring, but what i’ve got here is the same as in the help resource. sooo… yeah, someone please enlighten me.
thanks code campers.
lizzy
Your code so far
<style>
p {
font-size: 20px;}
/* Only change code below this line */
@media (max-height: 800px) { p { font-size: 10px;
}
/* Only change code above this line */
</style>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus quis tempus massa. Aenean erat nisl, gravida vel vestibulum cursus, interdum sit amet lectus. Sed sit amet quam nibh. Suspendisse quis tincidunt nulla. In hac habitasse platea dictumst. Ut sit amet pretium nisl. Vivamus vel mi sem. Aenean sit amet consectetur sem. Suspendisse pretium, purus et gravida consequat, nunc ligula ultricies diam, at aliquet velit libero a dui.</p>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15.
oh i see what you mean… well, if you add another closing bracket it makes no difference to the run test result. there’s also no additional bracket on the help video, or the help resources.
Just copy and paste the code from the editor. Use the format button </> on the toolbar for the code you post.
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
i’m on an ipad so believe it or not i can’t even copy and paste the code using the current version of code camp editor, or if i can it’s with almost insurmountable levels of difficulty. i have noted what was said about backticks, if i get a laptop soon i will implement that. sadly my laptop was killed recently in a hack
thanks! on an ipad it would need to be the </> option. the issue was more that you cannot copy & paste from the training code on the ipad, unless you’ve downloaded the solution. but yes i could have used this method on the second post.
basically, the sooner i get a functioning laptop the better. i signed up for the harvard CS50 a few days ago, working on week 0 assignment now (scratch based). from week 1 onwards, ipad will not suffice. only the CS50 would skip directly from making cartoons in scratch, to programming in C.
Learning about logic before learning about a specific language is a pretty clever approach I think. It lets you start to think about things like order of execution, conditional logic, looping, and side-effects before you even know any programming language.
But yes, then switching to C is kind of hardcore. But still not a bad language to start in because it’s so imperative and forces you to do things “manually” and not just use some build-in language features (e.g. Python). C is all about the “how”, which is the complete opposite of Scratch.
i think u missing 1 closing }
it should be
/* Only change code below this line / @media (max-height: 800px) {
p { font-size: 10px;
}
}
/ Only change code above this line */