Hi! I am very new to this coding business. Probably I have terrible mistakes. I am open to any feedback. Thanks :)
Wayne Johnson
@wjwebdevAll comments
- @icewonnSubmitted over 1 year ago@wjwebdevPosted over 1 year ago
Hello! Nice work!
**Feedback: (Adding an image in HTML) I noticed you added the qr code image using the background-image css property. Another good alternative would have been to use the html <img> tag which requires you to add a src attribute which you can then specify the location of your image like this
<img src="images/image-qr-code.png">
another benefit to using the html img tag is that you're able to use the alt attribute which allows you to add alternative text that will appear if the browser for some strange reason doesn't load your image. here's an example of using the alt attribute
<img src="images/image-qr-code.png" alt="qr code image">
This also benefits people that have to use screen readers on websites.Hope this helps :)
Overall excellent work! I look forward to seeing your next project!
Marked as helpful0