       return document.getElementById("currentTaskDisplay");
        }

        function readTaskPriority() {
            return document.priorityForm.priority.value
        }

        function fetchTasksWithPriority(priority) {
            return sendGET(`/tasks/byPriority/${priority}`);
        }

        function fetchTaskWithName(name) {
            return sendGET(`/tasks/byName/${name}`);
        }

        function fetchAllTasks() {
            return sendGET("/tasks")
        }

        function send