$\textbf{Exercise}$
Let $\left \{ f_{n} \right \}$ be a sequence of real continuous functions defined on $\left[-1, 1 \right]$. If
$(1). $ $$\lim_{n \to \infty} \int_{-1}^{1} f_{n}(x)dx=1$$ $(2). $ $$\text{For any fixed } \delta \in \left(0, 1 \right) , f_{n}\rightarrow 0 \text{ uniformly on } [-1,-\delta]\cup[\delta,1]$$
then prove that for any continuous function $g(x)$ on $[-1,1]$
$$\lim_{n \to \infty}\int_{-1}^{1} f_{n}(x)g(x)dx=g(0)$$
What puzzles me is that the sequence of functions $f_{n}$ satisfying above conditions does not exist, let alone to prove $\lim_{n \to \infty}\int_{-1}^{1} f_{n}(x)g(x)dx=g(0)$.
Next I will outline why the continuous functions $f_{n}$ does not exist.
According to $(1)$ and $(2)$, for any fixed $\delta \in \left(0, 1 \right) $,
$$\lim_{n \to \infty} \int_{-\delta }^{\delta }f_{n}(x)dx=1$$
First, we can find a monotonically increasing subsequence of integers $\{n_{k}\}$ such that $\lim_{k \to \infty} f_{n_{k}}(0)=\infty$.
Secondly, there is a monotonically increasing subsequence of $\{n_{k}\}$, denoted $\{{n^{'}_{l}}\}$, such that $f_{n^{'}_{l}}(0)>l$.
Thirdly, there must exist $x_{l_{0}}\in (-1,1)$ such that $f_{n^{'}_{l_{0}}}(0)>l_{0}$ and $f_{n^{'}_{l_{0}}}(x_{l_{0}})<\frac{1}{l_{0}}$.
Finally, $f_{n^{'}_{l_{0}}}(x)$ satisfies the $\textit{intermediate value theorem}$ since it is continuous on $[-1,1]$. Therefore,${\color{Red} {\text{ we can find a monotonically decreasing }}}$${\color{red}{\textrm{ sequence } x_{m}\in (0,x_{l_{0}}),\textrm{ such that }}} $ $${\color{red}{x_{m}\rightarrow 0,m\rightarrow\infty } }\textrm{ and } f_{n^{'}_{l_{0}}}(x_{m})=\sum^{m}_{s=1}\frac{l_{0}}{2^{s}}+\frac{1}{l_{0}\cdot 2^m}.$$
To sum up, we get a paradoxical result $l_{0}=\lim_{m\rightarrow\infty}f_{n^{'}_{l_{0}}}(x_{m})=f_{n^{'}_{l_{0}}}(0)>l_{0}.$
THANKS FOR EVERYONE'S HELP! After carefully checking, I find the red part can not be guaranteed, so my demonstrate which attempted to claim that $\{f_{n}\}$ does not exist is actually false. The focus now should be on solving the exercise. If we can prove there is a sufficiently large integer $N_{0}$ and sufficiently small positive number $\delta$, such that for any $n> N_{0}$, $f_{n}(x)$ are non-negative (resp. non-positive) on $[-\delta,\delta]$, then the first mean value theorem for integrals will fix it out.
EDIT:
The statement is not true if no $L^{1}$ boundedness of the integrals is given, see here.
So now I will prove the statement under the assumption that
\begin{align*} \sup_{n}\int_{-1}^{1}|f_{n}(x)|dx\leq M<\infty. \end{align*}
Fix a $\delta>0$, then \begin{align*} 1=\lim_{n}\int_{-1}^{1}f_{n}(x)dx=\lim_{n}\left(\int_{-1}^{-\delta}f_{n}(x)dx+\int_{-\delta}^{\delta}f_{n}(x)dx+\int_{\delta}^{1}f_{n}(x)dx\right). \end{align*} As $f_{n}\rightarrow 0$ uniformly on $[-1,-\delta]\cup[\delta,1]$, so the above expression becomes \begin{align*} \lim_{n}\int_{-\delta}^{\delta}f_{n}(x)dx=1. \end{align*} Now we have \begin{align*} &\int_{-1}^{1}f_{n}(x)g(x)dx\\ &=\int_{-1}^{-\delta}f_{n}(x)g(x)dx+\int_{\delta}^{1}f_{n}(x)g(x)dx+\int_{-\delta}^{\delta}f_{n}(x)(g(x)-g(0))dx\\ &~~~~+\left(\int_{-\delta}^{\delta}f_{n}(x)dx\right)g(0)\\ &=I_{n}+J_{n}+K_{n}+L_{n}. \end{align*} Note that $g$ is bounded, so $f_{n}g\rightarrow 0$ uniformly on $[-1,-\delta]\cup[\delta,1]$, so $I_{n},J_{n}\rightarrow 0$. Also note that $L_{n}\rightarrow g(0)$.
Given $\epsilon>0$, choose a $\delta>0$ such that \begin{align*} |g(x)-g(0)|<\epsilon,~~~~|x|\leq\delta, \end{align*} then \begin{align*} |K_{n}|\leq M\cdot\epsilon, \end{align*} taking $n\rightarrow\infty$, and then $\epsilon\rightarrow 0$, we see that $K_{n}\rightarrow 0$.