+ 1

Could someone help me with my code, so that it looks nice on desktop and mobile? It's my first time making a code on SoloLearn.

https://code.sololearn.com/Wye0F00QA4vb/?ref=app

5th Nov 2018, 12:18 AM
Tristen Tomczak
Tristen Tomczak - avatar
3 Answers
+ 5
First off, absolutely great job for your first code on Sololearn! One thing I would try to do is to change some of the CSS values to percentages that work for both mobile and desktop. Using percentages is probably is the easiest way to keep things similar between platforms, so swapping out some pixel measurements for that should make it look better for both devices. This is more for the code part, but I would really recommend trying to shorten the URL for the squirrel as it takes up a very large amount of the screen. I would suggest trying some sort of an online URL shortener as that should help with keeping it to a reasonable size.
5th Nov 2018, 12:34 AM
Faisal
Faisal - avatar
+ 4
No problem! It looks a lot better now, so great job on it!
5th Nov 2018, 2:22 AM
Faisal
Faisal - avatar
+ 1
I appreciate you for helping me out. It took some tweaking, but it's finally working. That's part of the fun though. With the picture, I had to substitute it because I couldn't shorten the URL. Thank you for the help.
5th Nov 2018, 2:01 AM
Tristen Tomczak
Tristen Tomczak - avatar