# How to view the front of the current card?

**URL:** <https://forums.ankiweb.net/t/how-to-view-the-front-of-the-current-card/57832>\
**Category:** Help\
**Created:** [March 23, 2025, 10:49am UTC](https://forums.ankiweb.net/t/how-to-view-the-front-of-the-current-card/57832 "2025-03-23T10:49:19Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndv](https://avatars.discourse-cdn.com/v4/letter/n/a3d4f5/32.png) [@ndv](https://forums.ankiweb.net/u/ndv)\
**Post date:** [March 23, 2025, 10:49am UTC](https://forums.ankiweb.net/t/how-to-view-the-front-of-the-current-card/57832/1 "2025-03-23T10:49:20Z")

</div>

I’m using Anki desktop on a Mac.

When viewing the back of the card, is there a way to flip it back to view the front again? I often want to do this when memorising a new card, but I can’t find a way to do it.

Apologies if this is a common issue - it seems kind of hard to search for because the answers are always about swapping the front and back of all the cards, which isn’t what I want to do. I just want to view the front of the card I’m currently studying.

---

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [March 23, 2025, 12:48pm UTC](https://forums.ankiweb.net/t/how-to-view-the-front-of-the-current-card/57832/2 "2025-03-23T12:48:57Z")

</div>

Normally your cards show the frontside and the answer, if you’re displaying the backside of the card.

Or maybe you’re looking for the default behavior of the **again** button?

---

<div class="post-metadata">

**Author:** ![ndv](https://avatars.discourse-cdn.com/v4/letter/n/a3d4f5/32.png) [@ndv](https://forums.ankiweb.net/u/ndv)\
**Post date:** [March 23, 2025, 1:33pm UTC](https://forums.ankiweb.net/t/how-to-view-the-front-of-the-current-card/57832/3 "2025-03-23T13:33:48Z")

</div>

I don’t know what you mean by “Normally your cards show the frontside and the answer”. After I click “show answer”, I see only the answer and not the front side of the card. All I want to do is switch back to seeing the front, so that I can look at it before looking at the answer again.

“Again” is not what I want. That puts the card back in the deck so that I will see it later, after some other cards. I do not want to see it later, I want to see it now. Look at the answer, then look at the question again, then look at the answer. Not move to a new card.

---

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [March 23, 2025, 1:43pm UTC](https://forums.ankiweb.net/t/how-to-view-the-front-of-the-current-card/57832/4 "2025-03-23T13:43:58Z")

</div>

> [@ndv](#):
>
> After I click “show answer”, I see only the answer and not the front side of the card.

That means you’re using custom templates. You can add `{{Frontside}}` to the back template (at the top) and you’ll have both, question and answer, once you flip the card to the backside.

Else there’s maybe a javascript solution, though other people here would have to help with that.

**Edit:** Corrected missing `{` and `}`.

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [March 23, 2025, 2:19pm UTC](https://forums.ankiweb.net/t/how-to-view-the-front-of-the-current-card/57832/5 "2025-03-23T14:19:24Z")

</div>

It’s `{{FrontSide}}` – with 2 curly braces . [Field Replacements - Anki Manual](https://docs.ankiweb.net/templates/fields.html#special-fields)

If you look at some of the default note types, you’ll see that the back template of a card usually starts with –

```auto
{{FrontSide}}

<hr id=answer>

```

Try adding that to the start of your back template.

---

<div class="post-metadata">

**Author:** ![ndv](https://avatars.discourse-cdn.com/v4/letter/n/a3d4f5/32.png) [@ndv](https://forums.ankiweb.net/u/ndv)\
**Post date:** [March 23, 2025, 4:09pm UTC](https://forums.ankiweb.net/t/how-to-view-the-front-of-the-current-card/57832/6 "2025-03-23T16:09:02Z")

</div>

Thank you - changing the card template will work, I’ll do that if there isn’t another way. But then I’ll see the front side of _every_ card, every time I click “show answer”. For the deck I’m using that isn’t super convenient because there’s a picture and a bunch of other stuff on the front that takes up a lot of space, so if there is a way to do what I’m asking then it would still be really useful. Ideally I’d really like to switch between viewing the back and the front, not see both at once.

---

<div class="post-metadata">

**Author:** ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)\
**Post date:** [March 23, 2025, 4:31pm UTC](https://forums.ankiweb.net/t/how-to-view-the-front-of-the-current-card/57832/7 "2025-03-23T16:31:31Z")

</div>

> [@ndv](#):
>
> For the deck I’m using that isn’t super convenient because there’s a picture and a bunch of other stuff on the front that takes up a lot of space, so if there is a way to do what I’m asking then it would still be really useful.

If you follow the template that was suggested to you, it’ll automatically scroll to the answer.

```auto
{{FrontSide}}

<hr id=answer>

```

---

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [March 23, 2025, 4:37pm UTC](https://forums.ankiweb.net/t/how-to-view-the-front-of-the-current-card/57832/8 "2025-03-23T16:37:13Z")

</div>

There’s also this: [Help with switching to the back of card](https://forums.ankiweb.net/t/help-with-switching-to-the-back-of-card/57070). Maybe it can be used to switch back to the front as well (obviously with modifications).

---

<div class="post-metadata">

**Author:** ![SuhasK](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@SuhasK](https://forums.ankiweb.net/u/SuhasK)\
**Post date:** [March 23, 2025, 6:24pm UTC](https://forums.ankiweb.net/t/how-to-view-the-front-of-the-current-card/57832/9 "2025-03-23T18:24:16Z")

</div>

Perhaps a button which you click to show a pop-up with the front side of the card could work? (Not switching to the front side, a pop-up which contains the content)

> **Possible solution**
>
> If it is possible to create a pop-up (I am not aware of how to do so, somebody else will have to tell), my solution would be using a MutationObserver to detect when the card is switched to the back and then copying the entire “qa” div (from what I’ve seen, switching to the back creates 3 MutationObserver events, the event which has div==“qa” and .removedNodes[0].nodeName == “style” is the one we need) and storing that as a variable to be used in the pop-up which is generated on click.  
> If somebody can tell how to generate a pop-up, I’d be happy to give you the code you need (just you’ll have to wait for around two weeks for me to become free enough to do this).

---

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [March 23, 2025, 7:46pm UTC](https://forums.ankiweb.net/t/how-to-view-the-front-of-the-current-card/57832/10 "2025-03-23T19:46:11Z")

</div>

> [@SuhasK](#):
>
> Perhaps a button which you click to show a pop-up with the front side of the card could work? (Not switching to the front side, a pop-up which contains the content)

As a _very_ simple implementation, the following would work:

Back template

```HTML
{{Back}}

<div id="button_container">
	<button type="button" onclick="show_front()">Show Front</button>
</div>

<div id="front_popup" onclick="hide_front()">
	<div id="front_popup_text">{{FrontSide}}</div>
</div>

<script>
	function show_front() {
		document.getElementById("front_popup").style.display = "block";
	}
	function hide_front() {
		document.getElementById("front_popup").style.display = "none";
	}
</script>

```

CSS:

```CSS
.card {
    font-family: arial;
    font-size: 20px;
    text-align: center;
    color: black;
    background-color: white;
}

#front_popup {
	display: none;
	position: fixed;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: white;
}

```

With this you’d study like so:

1. View front card (question).
2. Show back side (answer).
3. If you want to see the question again, bress the “Show Front” button.
4. If you want to close this front again, press anywhere on the screen.

---

<div class="post-metadata">

**Author:** ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)\
**Post date:** [March 23, 2025, 11:45pm UTC](https://forums.ankiweb.net/t/how-to-view-the-front-of-the-current-card/57832/11 "2025-03-23T23:45:30Z")

</div>

Even simpler:

```html
<details>{{FrontSide}}</details>

```

I tested `hint:` but doesn’t work.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [April 22, 2025, 11:45pm UTC](https://forums.ankiweb.net/t/how-to-view-the-front-of-the-current-card/57832/12 "2025-04-22T23:45:31Z")

</div>

Closed on April 22, 2025, 11:45pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
