Barnes & Noble Inc. reported a disappointing holiday quarter and provided a downbeat prognosis for the fiscal year that ends in April as consumers spent less time shopping in its stores and more time making their purchases online.

The issue of declining store traffic has affected other leading retailers. Earlier this week, Target Corp. reported lower sales and profits for its holiday quarter and said its 2017 profit would be significantly lower than previously expected.