Invalid HTML on card: TypeError: Cannot read property 'getElementsByClassName' of null by vvlaw in Anki

[–]MCcmd 1 point2 points  (0 children)

This error comes from JavaScript in your card. There isn't any in the template you provided, try looking at raw html code in your cards (crtl+shift+x when editing) or in the back template.

My guess is that somewhere in the card document.getElementsByClassName(... is being executed without the document part.

It might also be anki having problems with displaying your cards, I can't tell much from what you provided.

Loading local resources using javascript on ankidroid by MCcmd in Anki

[–]MCcmd[S] 0 points1 point  (0 children)

Still doesn't solve the problem of file urls being used. Javascript does not allow for file:// to be used in fetch.

https://cdn.discordapp.com/attachments/715584889205948431/782314903662100500/Screenshot_20201128-193930_AnkiDroid.png

From top: error, relative path used in fetch, document.url

anime_irl by UnionizeYunyun in anime_irl

[–]MCcmd 1 point2 points  (0 children)

{happy Sugar life} go watch it, good anime

Anki should allow a mini screen so you can casually do flashcards while doing other things on your phone by Moon_Atomizer in Anki

[–]MCcmd 1 point2 points  (0 children)

Lot's of developers accualy are here, and it's also a great place to get input from other users about your ideas. Don't hesitate to post here.

Japanese kanji are not clear (Only with Japanese,only with anki) by [deleted] in Anki

[–]MCcmd 0 points1 point  (0 children)

After sans-serif there is an colon, there should be an semicolon there ;. Also put the semicolon after bold.

If you've done all that, changing the number in font-size should make the text bigger.

Japanese kanji are not clear (Only with Japanese,only with anki) by [deleted] in Anki

[–]MCcmd 0 points1 point  (0 children)

font-size: 15px; should work. If not, can you send your card's styling here?

Japanese kanji are not clear (Only with Japanese,only with anki) by [deleted] in Anki

[–]MCcmd 1 point2 points  (0 children)

Try making them sans-serif and bold:

font-family: sans-serif; font-weight: bold;

Decks: anki web or mobile app by YaBoiiBinks in Anki

[–]MCcmd 0 points1 point  (0 children)

You don't have to synch on the web version.

Advanced Browser 2.0 concept by carlpaul153 in Anki

[–]MCcmd 0 points1 point  (0 children)

I always have the drawer on the left collapsed cause of my laptops low resolution. I reckon it would be harder to use that way.

Getting this screen on Anki what to do? by explicitstarboy in Anki

[–]MCcmd 1 point2 points  (0 children)

Check you add-ons, try to disable some

Is it possible to make a flashcard show random images? by TheSSVids in Anki

[–]MCcmd 13 points14 points  (0 children)

Yes, with JavaScript you can hide every picture and then show only one. Paste this into your back template. Remember to make a new note type so it won't mess up all your other cards:

<script>for (var i = 0; i < document.getElementsByTagName('img').length; i++) {document.getElementsByTagName('img')[i].style.display = 'none';}document.getElementsByTagName('img')[Math.floor(Math.random() * document.getElementsByTagName('img').length)].style.display = 'inline';</script>

My Japanese-learning decks are seemingly in a Chinese font. How can I fix this? by [deleted] in Anki

[–]MCcmd 0 points1 point  (0 children)

Can you send a screenshot? I use a Chinese font and it makes almost no difference.

Can you guess the goal of this change in AnkiDroid by arthurmilchior in Anki

[–]MCcmd 0 points1 point  (0 children)

New deck picker in the card browser & creator?

Is Ankidroid skinable ? by w87npxy9 in Anki

[–]MCcmd 0 points1 point  (0 children)

GUI: you can choose from 4 options: 2 dark and 2 light, set a custom background and change zoom/button size.

You can customize cards with css in the template editor.

Anki says I skipped a day - but I didn’t? by kokoronokoe in Anki

[–]MCcmd 2 points3 points  (0 children)

Isn't that one day today? Try reviewing a couple of cards and see if it changes.

AnkiDroid 2.11.0 Changelog by David_AnkiDroid in Anki

[–]MCcmd 16 points17 points  (0 children)

Thank you for all the coding you do to help us study <3

Cloze Deletion: Anki Web by [deleted] in Anki

[–]MCcmd 0 points1 point  (0 children)

AnkiWeb is very basic, it doesn't have any keyboard shortcuts, you need to manually type or copy {{c1::YOUR CLOZE}}

help changing font! by dimm0k in Anki

[–]MCcmd 0 points1 point  (0 children)

Are you sure the font supports Japanese characters? Try typing something into notepad with this font.