DonnaSawkins / prj-rev-bwfs-dasmoto

0 stars 0 forks source link

Locally stored images #2

Open aubreywullschleger opened 7 years ago

aubreywullschleger commented 7 years ago

Simplify! Consider using locally stored images in your project as this is best practice for production code and will make your page load faster. To do this you would create a new images folder inside your Resources folder, like this: screen shot 2017-09-01 at 12 02 37 pm

then save your images to this new folder, and use your <img> tags like this: <img src="./Resources/images/hacksaw.jpeg" alt="image of hacksaw paint brushes"/> Also, be sure to use a descriptive alt attribute on your <img> elements (see above for example). This helps with accessiblity and is best practice.

Example: https://github.com/DonnaSawkins/prj-rev-bwfs-dasmoto/blob/master/Dasmotos%20Arts%20%26%20Crafts/index.html#L12