Hi everyone, I made a Product Landing Page, but I'm not very happy with the final outcome

I have 3 problems with this site:

  1. I’ve never worked with videos and I don’t know how to edit them so can someone point me to some link so I can learn it, and give me suggestions. Here is a specific problem when the page needs to be adapted for the mobile version, the video does not adapt to the page?
  2. The images I posted on the page do not allow the page to be viewed normally, but slow it down and as if it has to load the image every time and then continue on?
  3. I am familiar with the code / rule !Important and I know that sometimes, and only sometimes, it has to be used. There was no way I could override the code and I put the !Important rule in a couple of places when I was working @media. Can you please tell me where I went wrong and what I could have done differently?
    Thank you

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36

Challenge: Build a Product Landing Page

Link to the challenge:

it’s good , just work on it try to improve day by day a journey of a hundred miles starts with one step , so be patient and keep going everything will become as you wish to be , Keep going , keep going and keep going .

@tihanaputinja, I’m going to address some things you need to look at first;

  • Keep the test script when forking the pen (<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>)
    The test script, with all tests passing, should be included when you submit your projects.
    Your page passes 6/16 user stories. Click the red button to see which test(s) are failing and text to help you correct the issue.
    Be sure and read more than just the first line of the failing message. The ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.
  • Run your HTML code through the W3C validator.
    • There are HTML syntax/coding errors you should be aware of and address.
      Since copy/paste from codepen you can ignore the first warning and first two errors.
  • Run your CSS code through the W3C validator.
    • There are coding errors you should be aware of and address.

I’m thinking you don’t want to actually edit the videos but you need them to resize. The biggest hint I can give you is to keep all your styling external. Do not use in-line styling. You can revisit this lesson to see why. Also, Do not use fixed dimensions on elements, use max-width/height and relative units like %, em, rem and vw to keep everything responsive.

To help with styling start by styling for a narrow view port first. Narrow your browser as far as it will go and style the page so it looks good at that narrow width. Then gradually widen your browser and use CSS media query break points to adjust the style for wider view ports if needed.

Remember the C in CSS stands for Cascading. The way you have have your stylesheet set up currently styles the page for a certain width but then it gets overridden.

Thank you for your reply,
but I didn’t quite understand everything.
You wrote: Click the red button to see which tests failed and the text to help you correct the problem. I don’t know which red button you mean because I haven’t seen it.
Thank you for the W3C validator is very useful.
I thought that in Codepen I don’t have to write < link rel = “stylesheet” > when a special section was created only for css?
Can you please comment on the images I put on the page that create a problem when scrolling the page?
And also video, I saw on youtube that people style video in css by writing {iframe {} and I’m bothered that I didn’t write any code in css for video. Which I think is bad.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.