Axios-Driven Incantation Treasure Hunt

Beginner

In this project, you will learn how to send requests with authorization headers using Axios and how to update the DOM based on the response data. You will be building a simple web application that interacts with a server to obtain parts of a mysterious incantation.

JavaScript

Introduction

In this project, you will learn how to send requests with authorization headers using Axios and how to update the DOM based on the response data. You will be building a simple web application that interacts with a server to obtain parts of a mysterious incantation.

👀 Preview

Image

🎯 Tasks

In this project, you will learn:

  • How to set up the project and get the initial code
  • How to implement the functionality for the "Key 1" button
  • How to implement the functionality for the "Key 2" button
  • How to check if the treasure box can be opened based on the obtained incantation parts

🏆 Achievements

After completing this project, you will be able to:

  • Use Axios to make HTTP requests with custom headers
  • Manipulate the DOM to display dynamic content
  • Implement conditional logic to check for specific conditions
  • Follow step-by-step instructions to complete a web development project

Teacher

labby

Labby

Labby is the LabEx teacher.