markmx3 / prj-rev-bwfs-dasmoto

0 stars 0 forks source link

Class vs id #4

Open cyouh95 opened 6 years ago

cyouh95 commented 6 years ago

Alternatively, you could use ids instead of classes for each of the main sections of your page (ie. brushes, frames, paint). One advantage of that is you'd be able to create hyperlinks to jump to each section of the page.

https://github.com/markmx3/prj-rev-bwfs-dasmoto/blob/master/Dasmotos/resources/css/styles.css#L23-L33 https://github.com/markmx3/prj-rev-bwfs-dasmoto/blob/master/Dasmotos/index.html#L17 https://github.com/markmx3/prj-rev-bwfs-dasmoto/blob/master/Dasmotos/index.html#L24 https://github.com/markmx3/prj-rev-bwfs-dasmoto/blob/master/Dasmotos/index.html#L31