Is it possible to do without if-else conditions in FizzBuzz? What alternatives do you know?
Frontend
How would you write unit tests for the implementation of FizzBuzz?
FizzBuzz task: implement a program that for numbers from 1 to N outputs 'Fizz' if the number is divisible by 3, 'Buzz' if divisible by 5, and 'FizzBuzz' if divisible by 15, otherwise outputs the number itself.
Add filtering of the lot list by city and number of rooms using data from the filter block in the API response. Filter values should be saved in URL parameters so that the page is accessible via a direct link.
How would you implement the scalability of business rules in FizzBuzz (for example, adding a new rule for the number 7) so that the code remains maintainable and clean?
Practical task: create a frontend application in Next.js that displays a list of real estate lots as a grid of cards, using a real public API. The card should contain human-readable fields (project name, city, number of rooms, area, etc.) and an image.