Tiktok Frontend Interview Questions I was asked

First, we talked about background for about 10 minutes, then asked some basic knowledge about Vue, also around 10 minutes. After that, there were two CSS questions and two JavaScript questions.

Two CSS questions: centering and grid. The grid required each child box to be a square.

Two JavaScript questions: flatten array and calculate mathematical expressions in a string.