this is my code
Hi @cuteghost97. There are two issues with your code.
- There is no media query in your CSS
- Pay attention to the code where
<header> What You Should Already Know? </header>
is located. Its correspondingsection
should haveid
ofWhat_You_Should_Already_Know?
and your navigation section should have an element withhref
attribute of"#What_You_Should_Already_Know?"
1 Like
I have one problem though . The result page doesn’t show what is written inside <code>...</code>
Hi @cuteghost97. It is because <
and >
have special meaning in html. For example if I replace your code under the header “PHP syntax” by:
<?php
// PHP code goes here
?>
It renders correctly. Try replacing all <
and >
in your code
tag with <
and >
respectively.
EDIT
Enclose your code
tags inside pre
tags to obtain multiline code:
<pre>
<code> </code>
</pre>