Skip to content

D02-1/Submit-me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Submit me

Status overview badge

Instructions:

  • An HTML form is given in the index.html. In the index.js file, create a post request on form submission.

Requirements:

  • Use fetch to post data.

  • Use async await syntax.

  • When resolving your promise, print the raw JSON to the console.

  • Alert the user once they have submitted the form.

  • You can use JSONPlaceholder to make a POST request.

alt text

Results

⌛ Give it a minute. As long as you see the orange dot processing on top, CodeBuddy is still processing. Refresh this page to see it's current status.

This is what CodeBuddy found when running your code. It is to show you what you have achieved and to give you hints on how to complete the exercise.

API request

Status Check
Status Should make POST request using fetch on submit

Syntax

Status Check
Status async/await syntax should be used

Console

Status Check
Status Should print response JSON to the console

Alert

Status Check
Status Alert should be displayed after fetching the data

🔬 Results Details 🐞 Tips on Debugging 📢 Report Problem

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors