Before I jump into javascript I wanted to test what I’ve been learning along the way, so I decided to by a little mainstream and make a copy of Netflix landing page. Tougher than expected but manageble.
There will be no JS involved in this project.
The page’s barely in it’s infancy, almost halfway with the desktop layout, after I’m done with this I’ll focus on the media queries.
The code may look messy for now, I’m yet to tidy it up. Any feedback is welcome
Love it, man. Your hard work is commendable. One suggestion - I can scroll your site horizontally, there is a scroll-bar at the bottom use the code below in the body or HTML tag.
im sorry to ask, but i’ve wonder what the use of this overflow-x: none; for?
is that to remove the horizontal scrollbar while your contens overlaps the screen width? or it would also make the page fit the screen width by mean of responsive?
Thank you for your support guys! Thanks for pointing out the bottom scrollbar, didn’t even realize it was there.
To fix the issue I gave every element a red box using this code to uderstand what was causing the overflow.
I just checked it out. Nice work, keep it up. I wish I had a laptop so I can start trying out projects too. I have been learning with my android phone.
tbh, im doing my projects on my android mostly, since my laptop is being monopoly by my 4yrs son.
you can start making one, codepen.io is the easiest as it responsive enough on mobile, and as an aside install code board from app store, default keybord seem getting trouble with codepen and this freecodecamp curriculum lessons.
@sobadrdb speaks the truth. When I’m in bed and can’t sleep I try to make simple pages on codepen, it’s proven to be actually useful to do so since it’s a good way to learn how to code mobile friendly websites.
Added FAQ section. FAQ’s element are inactive for now.
Sections are now separated by spacer divs instead of margin property.
Trying to figure out to make the FAQ’s elements work without using JS, tomorrow I’ll probably try to rig something. I’ll implement it if the code doesn’t end up looking like absolute jank, even more than it currently does, lmao.
Lovely looking. My main suggestion would be to optimize more for alternate screen sizes such as mobile phones, but aside from that it’s about as sleek and elegant on desktop as a normal Netflix webpage.
Had to rewrite the stylesheet otherwise the media queries would’ve been a major bitch to make, ended up with an end product far better than what I imagined at first.
For the next update I’ll add webkits.
Once I complete the JS course I’ll make the FAQ section work as it should, for now I’m satisfied.
As always, thank you for following my project, if you find anything not working correctly feel free to point it out!