Media-Ed-Online / intro-web-dev-2018spr-resources

Resource files directory for "Intro to Web Design & Development" course.
8 stars 0 forks source link

My First HTML (Test) - image won't show up #24

Open MannyS92 opened 6 years ago

MannyS92 commented 6 years ago

My screenshot image for the test won't generate ,my screenshot.png is the correct directory I'm pretty sure

<img src="/images/screenshot.png" alt="myscreenshot"/>

I used the alt element because the linter told me it was missing..(I guess because its not generating the image)

first-html-issue
jackelynstob commented 6 years ago

Don’t forget there is a period before the /images. So it should look like

I’m not familiar with the alt, so maybe try adding that period in, commenting out the alt section (you can do that by adding to forward slashes before the code “//“) and if it doesn’t work then I’ll look closer into it! Details will get ya, syntax sux!!!! Good luck. Let me know if it works.

jackelynstob commented 6 years ago

Whoops I forgot the code disappears “./image/screenshot” (etc.)

MannyS92 commented 6 years ago

Ok thanks that was it! Thankyou!

JustineEvansUM commented 6 years ago

@MannyS92 awesome that your linter errors are working! Yes, by good practice, you should always have an alt="" (or alternative text), but we'll get to that later on. You're a step ahead! Glad @jackelynstob could help.