top of page

Fetch data with Javascript - Get Projects Help In Javascript

This assignment is mainly how to fetch data and show in Website.

There is three button:

1:To see available houses.

2: To see houses in range.

3:To see houses in category wise


<div >
         <button class="button" onclick=Allhouses()>Click To see all houses</button>
        <div id='accordion'></div>

         <button class="button" onclick=Range()>Enter the Range</button>
        <div id='accordion2'></div>

         <button class="button" onclick=Category()>Enter the Category</button>
        <div id='accordion3'></div>
    <script src='script.js'>

Javascript Code

unction Allhouses(){
    const container = document.getElementById('accordion');"flex""wrap"
        const card = document.createElement('div');
  card.classList = 'card-body';"black""400px""400px"
  const content = `
    <div class="card">
    <div class="card-header" id="heading-${idx}">
      <h5 class="mb-0">
        <button class="btn btn-link" data-toggle="collapse" data-target="#collapse-${idx}" aria-expanded="true" aria-controls="collapse-${idx}">


    <div id="collapse-${idx}" class="collapse show" aria-labelledby="heading-${idx}" data-parent="#accordion">
      <div class="card-body">
        <img src=${x.image}  backgroundColor="black" width="400px">
        <h2>House Name:${}</h2>
        <h3>Category: ${x.category}</h3>

For javascript assignment help mail us on

Also, If you are looking for any kind of coding help in programming languages, web developing Contact us for instant solution


bottom of page