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 - 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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Writing JSON-LD by hand5m 30s
-
(Locked)
Working with the Structured Data Markup Helper6m 13s
-
(Locked)
Testing our JSON-LD code with the Structured Data Testing Tool1m 20s
-
(Locked)
Challenge: Marking up a document with JSON-LD2m 6s
-
(Locked)
Solution: Marking up a document with JSON-LD1m 42s
-
(Locked)
-
-