+ 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?

7th Oct 2020, 11:42 PM
LATEEF
LATEEF - avatar
6 Answers
+ 3
If you are including JavaScript in a page, you have to write it all between window.onload= function () { } Is that the problem?
8th Oct 2020, 12:17 AM
Cam UOR
Cam UOR - avatar
+ 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
8th Oct 2020, 1:42 AM
maf
maf - avatar
+ 2
Can you share the code?
8th Oct 2020, 12:20 AM
Cam UOR
Cam UOR - avatar
8th Oct 2020, 1:28 AM
LATEEF
LATEEF - avatar
+ 2
It looks like the images are breaking the page. Is this better? https://code.sololearn.com/W4Ja3vKZYCdC/?ref=app
8th Oct 2020, 1:44 AM
Cam UOR
Cam UOR - avatar
+ 1
Thank you! I've done it
8th Oct 2020, 9:08 AM
LATEEF
LATEEF - avatar