Answer
The slope is not defined because the line is vertical.
There is no $y$-intercept since the line does not pass through the $y$-axis.
Refer to the graph below.
Work Step by Step
The slope of the line can be obtained by looking at the coefficient of $x$ in the slope-intercept form.
$x=-2$ is a vertical line so the slope is not defined.
There is no $y$-intercept because the line does not pass through the $y$-axis.
All points on the line $x=-2$ have a $y$-coordinate of $-2$.
Refer to the graph above.