+ 3
Where to write a code?
I wrote a code in visual studio code for HTML and CSS and when i paste it to on here and asked for result so the page wasn't fixed to screen and it wasn't looking nice! What should i do?
6 Respuestas
+ 3
If you are including JavaScript in a page, you have to write it all between window.onload= function () {
}
Is that the problem?
+ 3
coz you made it for you computer's screen size only, search for media queries and learn that topic to adjust your website into all the screen sizes. by the way you can use:
img {
width: 100%;
}
To adjust your images
+ 2
Can you share the code?
+ 2
Yeah that's the code:
https://code.sololearn.com/WMggI3aGsQcp/?ref=app
+ 2
It looks like the images are breaking the page. Is this better?
https://code.sololearn.com/W4Ja3vKZYCdC/?ref=app
+ 1
Thank you! I've done it