Problems with website and IPad font input for alt attributes

Problems with website and IPad font input for alt attributes
0
#1

Tell us what’s happening:

So I typed in everything correctly I believe. Only thing is I left out the quotations from the src because the image would fail to load otherwise

  1. List item

. Also left out the quotations on the alt because it didn’t seem to make a difference.

I have a hunch that this problem is happening because I’m using an iPad and have already run into problems with m dashes becoming long dashes…

Example:
– as opposed to —

Except in this case, when I add quotations to my code, they come out either like this ” or like this “…could it be the orientation of the quotations? And since my iPad automatically creates long dashes when I type 2 consecutive m dashes in a row, I’m wondering if the website fails to recognize my iPad’s font input.

Sorry for the long post. Hope someone can help please!

Your code so far


<img src=https://bit.ly/fcc-relaxing-cat alt=Relaxing cat>

<h2>CatPhotoApp</h2>
<main>
  
  
  <p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
  <p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (iPad; CPU OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/70.0.3538.75 Mobile/15E148 Safari/605.1.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/add-images-to-your-website/

1 Like
#2

I don’t know why that would happen on an iPad. I do know that things have to be exactly like they want it or it won’t pass. If there are no quotations it won’t pass. I have found even extra spaces will make things fail. Good luck!

#3

I’m having exactly the same problems with em-dashes and now quotation marks.

Solution: Uncheck smart punctuation in keyboard settings.

1 Like
#4

Same issue and thanks to ErrorGorilla for fixing quote issue with turning off smart quotes. But is there a way to fix the hyphen and long hyphen issue?

I know how it happens, if you do the drag down touch shortcut for the hyphen it comes out different from when you switch keyboard entry mode with the .?123 button. But I don’t know how to fix it. Would be useful if the site author put up a warning to iPad users that certain punctuation won’t work properly. Best solution is to not use iPad of course! But that goes against the spirit of this site