I for my previous challenges I created entirely different things from the model page from freeCodeCamp, but this time, because I’m having trouble getting ideas for my own kind of landing page, I wanted to code exactly what I see with the model; using the same theme, using the same kind of video.
I guess the lack of replies is an answer. I’ve done that. I mean the css because I’m just not creative that way. Of course the code is my own. I’ve had no problems with it and afterwards it is interesting to compare your own code and that of the model.
Go for it!
Somehow I missed this post or else I would have commented sooner.
I personally think you should create a page that is stylistically different than the sample page. I really do think you will learn more that way.
I totally understand struggling to come up with an idea. That’s total normal. But I think stretching yourself to create something different than the sample is going to be more beneficial in the long run.
Just try to break up the project into bite size pieces.
Pick any subject that you like. I picked desserts because there were tons of pictures online to use and well I like them
Then, tackle the user stories and get them to pass.
After that, you can worry about styling the page. Here are a few ideas to get you started.
Start with some colors that you would like to use.
experiment with google fonts
If I remember correctly, I think flexbox is required at least once for this project. Maybe you could create a cool image gallery with it.
Everything in the header is left aligned. Don’t you want a space between the logo and nav? If so you can use justify-content: space-between on the #header element. You would likely also want to vertically align the items using align-items: center.
For images, you have to host them somewhere, like an image service or you can use Github.
@lasjorg I did what you suggested, and my text was able to move to the right. I used Github for the image too, and it worked when I ran the code. I came back later to run the code again, and it didn’t work. Is there a reason why it worked the first time and it’s not working now?
If you want the file to be publicly accessible then using a private repo isn’t really the right choice.
Although, I thought the token attached to the image URL would let it work (at least for 7 days). I’m not sure why it would stop working before that. But I would suggest you make the repo public.