Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep html and css code separate #3

Open
sangjunp4rk opened this issue Jul 7, 2017 · 0 comments
Open

Keep html and css code separate #3

sangjunp4rk opened this issue Jul 7, 2017 · 0 comments

Comments

@sangjunp4rk
Copy link

Next time, use a css selector instead of writing it directly in the html file. It’s good to keep separate html and css code. So instead do something like <span class = “prices” >. Then in css, you can do prices { color: skyblue; }; This way you don’t have to rewrite the code all the time.

https://github.com/JoieTsun/prj-rev-bwfs-dasmoto/blob/master/Dasmoto's%20Arts%20%26%20Crafts/index.html#L20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant