Dasmoto's Arts & Crafts Dasmoto's Arts & Crafts
gromflomite / dasmoto Goto Github PK
View Code? Open in Web Editor NEWCodecademy - Dasmosto
Codecademy - Dasmosto
Alternatively, you could use IDs instead of classes for each specific section, as IDs are unique to one element. And if you ever wanted to create a hyperlink to jump to each section of your page, you'd be able to do that with IDs.
<div id="products_brushes">
...
</div>
#products_brushes h2 {
...
}
https://github.com/Perdudum/codecademy_dasmoto_project/blob/master/index.html#L17
https://github.com/Perdudum/codecademy_dasmoto_project/blob/master/resources/css/style.css#L10-L11
I would suggest keeping your selector on the same line. For example:
.products_brushes h2 {
...
}
https://github.com/Perdudum/codecademy_dasmoto_project/blob/master/resources/css/style.css#L10-L11
(Meets Expectations)
Well done on this project! It looks like you have a solid understanding of how HTML and CSS work together for display of content. And great job with linking images in your files as well as the stylesheet in your HTML.
As a further challenge, try expanding this page and play around with adding some of your own elements to it. As you do, think about the ways to most effectively write the code and avoid repetition whenever possible (#2). Also, here is a great resource for the use of classes vs IDs if you're interested: https://css-tricks.com/the-difference-between-id-and-class/ Happy coding!
Great job linking your image files in both your stylesheet and HTML document!
https://github.com/Perdudum/codecademy_dasmoto_project/blob/master/index.html#L19
https://github.com/Perdudum/codecademy_dasmoto_project/blob/master/resources/css/style.css#L7
For universal properties shared among all elements, you could use the body
tag as selector (as all children elements would automatically inherit these properties):
body {
font-family: Helvetica, sans-serif;
font-weight: bold;
}
https://github.com/Perdudum/codecademy_dasmoto_project/blob/master/resources/css/style.css
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.