Hey everyone, I just completed my first project for freecodecamp. I put a lot of work into it and I hope you guys like it. In the future though I would like to add some new features such as responsive web design and icons but for now I think it was a good learning experience. Feedback would be appreciated.
Codepen: https://codepen.io/hudson-dev/pen/gOPoyMx?editors=1100
5 Likes
Hello!
Iâve posted here a few times and sometimes it can be frustrating when nobody checks out your efforts. I bookmarked your post yesterday cause I was tired. Hopefully Iâll do a review 8 hrs from now approximately, because I really like some ideas here.
But for startersâŚ
I liked:
- Your html and css skills are fine, which is great.
- The timeline is Very Ingenious! Iâve seen how you code it.
- I like the color scheme, the shadows on the âlist itemsâ (see below), and the topic you chose.
- The css is tidy and rather well commented, the class names are very good too. At some point you might want to check out BEM methodology for writing CSS classes.
What you should address (IMHO)
- codepen includes a boilerplate i.e the basic html, so if you just paste what is inside the body tags, your post should look fine. BUT all metadata (head element) should be placed in âstuff for headâ. You find this by clicking on the gear icon, right besides codepenâs HTML section. The point here is to make the html less cluttered.
- The page is not responsive, or at least thatâs what I experienced. If youâre using any ârareâ property, by clicking on the CSS gear icon you can click on âadd vendor prefixesâ then your code should work in almost any browser.
- In the HTML section, Iâd do the timeline using an unordered list element, instead of a div, and then every âyearâ can very well be a list item.
- You can validate html and css, just type html/css validator in google. Youâll find out how. And then, add a comment stating that the pages are validated (okey, Iâll give you a hand here)
- The fonts should probably be imported in the HTML file, and in one or two shots (links). Google fonts API has the ability to do it, so you might want to take a better look at it (itâs very easy to use).
Iâll be back to your codepen in some hours.
I really like your tribute page, I would like to suggest as
@anon10002461 point out, that it seems the page is not responsive.
Try view the tribute page with a cell phone browser.
Your layout was very creative and beautiful! I loved it!
Thanks for the suggestions! I appreciate the feedback and I will be working on them. Iâm not sure however what you meant in number 2 of What you should Address. I tried clicking on the âadd vendor prefixesâ but it completely changed the entire look of the website. Also when I tried validating the HTML and CSS using the link you gave I received an error saying that âThis document cannot be checkedâ.
1 Like
Youâre welcome.
Let me know once youâve the time to make it responsive (or try at least), etc. And Iâll get back to it.
Okay I will let you know. Do you know of any resources I should use?
UhmmâŚ
Maybe check out any simple website done with html and css by Brad Traversy (this is a nice responsive website by him). So you can get how he starts from mobile version to desktop, and what do you usually need for that (media queries).
Plus there are 2 important tools you might need: flexbox and grid. You can get the basics in the FCC tutorial for css. I believe youâve used flexbox but mostly for centering (not 100% sure).
To make such a complex page responsive I would make a brand new project and try to create the mobile version first (this is almost always the right approach).
The mobile version should show your page in this order
- Elon musk section
- Timeline Section
- Maybe something else
- Footer
This elements should be re arranged in Desktop version, probably like this:
- Timeline Section || Elon musk section
- Maybe something else
- Footer
Hope thatâs not too overwhelming, as I said, your page looks nice.
Thank you. I will check them out.
I donât mind to help you out using zoom or things like that, I donât have much to do these days. But in any case try a few things by your own before
Thanks for the offer but I think I will try and figure it out first myself. However if I really need help then we can set up something.
Ok I think I made my website more responsive. Check it out: https://codepen.io/hudson-dev/pen/gOPoyMx?editors=1100
Hello @hudson.n.kim !
If you want to make your picture fully responsive (as we learned at the course) you can add this code on your CSS:
img{
max-width: 100% !important;
height: auto !important;
}
And I tought your code too complex, you almost wrote a code for 2 pages. Are you sure there wasnât another way? Easyer one?
But the final result was better then the first one! Congratulations!