After getting the information about json, how do I write an A tag to make it jump to another page and display the content?

first I"m sorry, I"m a vegetable chicken.
I don"t know if what I described is correct, as the title says:
when I get the content of list.json, such as: how to write this link address and how to write another page to display other content in addition to title, and content, when I get the information of title as the content of the current a tag?
(in addition to title, there is also a content, in list.json. So how do I display the contents of this content on another page?)

also, there are ten pieces of information in list.json. I only want them to display five. How do I write them?

ask all kinds of free gods to give advice

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script>
    $(document).ready(function() {
        $.ajax({
            type: "GET",
            url: "list.json",
            dataType: "json",
            success: function(data) {
                $.each(data, function(i, item) {
                    var content ="<a href="">" + item.title + "</a>" + "</br></br>";
                    $("-sharpresult").append(content);
                })
            }
        })
    });
    </script>
</head>

<body>
    <div id="result"></div>
</body>

</html>
Mar.04,2021

use localStorage to store json data, and then window.open a window. Read local storage in this window!


another page? Open a new window, directly window.open a window, and write your content directly in it; otherwise, put a div, in this page and display it

Menu