From the course: HTML: Structured Semantic Data

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Challenge: Marking up a document with JSON-LD

Challenge: Marking up a document with JSON-LD - HTML Tutorial

From the course: HTML: Structured Semantic Data

Challenge: Marking up a document with JSON-LD

(upbeat music) - [Instructor] So, now that we've gone ahead and talked about JSON-LD, it's time for you to give this a try on your own. And so it's time for another challenge here, this time dealing with JSON-LD Markup. Once again, I've given you the Two Trees Olive Oil, bottle of olive oil and I'd like you to go on ahead and markup this web page with JSON-LD. Whatever that appropriate code happens to be. As you start to think about this problem, there's as always a series of steps you should go through. First of all, you should be identifying the main schema for this web page and any embedded schemas that might be needed in order to put this together. If you went ahead and did the microdata challenge, you already know the answer to this question. But if you didn't do the microdata challenge, this will be new to you, so think about the right schema for describing a bottle of olive oil and then maybe any embedded schemas that are going to help you along the way. Then you're going to…

Contents