@CreativeSam99
Submitted
I encountered difficulty getting a mobile version of my navbar. I would appreciate it if anyone could share the technique that they used.
@AngwenyiOgata
@CreativeSam99
Submitted
I encountered difficulty getting a mobile version of my navbar. I would appreciate it if anyone could share the technique that they used.
@AngwenyiOgata
Posted
Hello @CreativeSam99
Congratulations on finishing the challenge.
To make responsive designs for different screens sizes you will need to use Media Query Breakpoints
such as
body{
background-color: blue;
}
@media screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}
this will make the background of all screen sizes below 600px to light blue
Or if you could wish to use mobile-fast CSS you use
body {
background-color: orange;
}
@media screen and (min-width: 600px) {
body {
background-color: red;
}
}
This will change the background color to red if the device screen size is more than 600px.
Hope this will be helpful to you.
@Johan-Jubin
Submitted
My website was actually so identical to the prototype, but when I published the website, the image failed to load, so I unpublished and corrected the changes (including centering the text), afterwards, when I tried to publish it again with Github Pages, it just shown the previous one (the one I had to submit to FrontEnd Mentor)
Does Github Pages work once per repository, or is there any way to publish a modified website? (which I had unpublished earlier to modify)
@AngwenyiOgata
Posted
Hello @JOHAN JUBIN consider adding a ./
when using files from a different folder as in ./assets/images/favicon-32x32.png
hope this will fix your problem