jessodri / teacozy Goto Github PK
View Code? Open in Web Editor NEWCodecademy Tea Cozy Project
Home Page: https://jessodri.github.io/TeaCozy/TeaCozy
Codecademy Tea Cozy Project
Home Page: https://jessodri.github.io/TeaCozy/TeaCozy
One tip for this project: Instead of setting the width on each element, you could try and set the 1200px with to a 'wrapper' element and put all of the other elements inside that one. A benefit of this is that if you decide that 1200px is too small/big, you can change the size in 1 place and the rest of the elements should work themselves out nicely. Your approach is not wrong however. Just wanted to point out another way of achieving the same result.
Best practice tip: when you are making a class that represents two words, separate them with a hyphen:
class="main-container"
. Easy to read, easy to understand, harder to make typos, and sort of an established practice by many devs.
https://github.com/jessodri/prj-rev-bwfs-tea-cozy/blob/b5ef4ae0dd71e1e881b51bdab4a3d46631b0e74a/TeaCozy/index.html#L23
Great job on the project! You follow the spec and your code is clean and neat (good job on adding comments!). Implement the few things in the previous issues to polish it up and make it even more professional.
To further play around with the project, you can try adding a Google Map at the bottom of the locations section. Here's a challenge:
Another, simpler, task would be to implement smooth scrolling in your page. I see your navigation links point to each section (great job on this, very very few people actually remember to do it). So it would look nice if you make the page scroll smoothly when the user clicks on the link.
Great job on the project and keep up the good work!
Your HTML is pretty good! To make it even better, you can implement semantic HTML. Here's some links that explain why you use it and some of the elements available:
https://www.w3schools.com/html/html5_semantic_elements.asp
http://www.hongkiat.com/blog/html-5-semantics/
https://www.thoughtco.com/why-use-semantic-html-3468271
https://stackoverflow.com/questions/17272019/why-to-use-html5-semantic-tag-instead-of-div
I see you make use of flexbox a lot in your page to good effect. It's good to get some practice and get to grips with it, but I feel that it is important to understand when to use flexbox, and when you want to avoid it. If you haven't encountered these in your research, they're worth a read:
http://brolik.com/blog/when-to-use-flexbox/
https://jakearchibald.com/2014/dont-use-flexbox-for-page-layout/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.