"Greetings everyone, I am a newcomer to this field, currently tackling the third module assignment for Coursera's HTML, CSS, JS course. Facing an issue where applying styles for h1 under @media (max-width: 767px) does not display correctly at 767px but only up to a maximum of 766px."
What could be causing this problem and how can it be resolved?
Here are the git links:
Website
Appreciate your assistance.
@media (max-width: 767px){
h1{
color: red;
}}
<div class="main-content container">
<div class="row">
<h1 class="text-center">Our menu</h1>
<div class="col-xs-12">
<h2 class="text-center">Chicken</h2>
<p>
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..",...
</p>
</div>
</div>