function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VijayNiVijayNi 

LWC bike card component output is showing twice

Hi Team,

I am doing a trailhead challenge my output is  showing the result twice .
Can anyone help me out what could be the  issue 
html file :
<template>
    <div>
        <div>Name: {name}</div>
        <div>Description: {description}</div>
        <lightning-badge label={material}></lightning-badge>
        <lightning-badge label={category}></lightning-badge>
        <div>Price: {price}</div>
        <div><img src={pictureUrl}/></div>
    </div>
</template>

Xml file :

<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>51.0</apiVersion>
    <isExposed>true</isExposed>
       <targets>
        <target>lightning__AppPage</target>
        <target>lightning__RecordPage</target>
        <target>lightning__HomePage</target>
        <target>lightningCommunity__Page</target>
    </targets>
</LightningComponentBundle>


Js file :

import { LightningElement } from 'lwc';
export default class BikeCard extends LightningElement {
    name = 'Electra X4';
    description = 'A sweet bike built for comfort.';
    category = 'Mountain';
    material = 'Steel';
    price = '$2,700';
    pictureUrl = 'https://s3-us-west-1.amazonaws.com/sfdc-demo/ebikes/electrax4.jpg';
}

Thanks,
Vijay.User-added image
Best Answer chosen by VijayNi
CharuDuttCharuDutt
HII Vijay ummeda

Its Showing Fine In My Window May be  You've Added It Twice
User-added image

Please Mark it As Best Answer If It Helps
Thank You!

All Answers

CharuDuttCharuDutt
HII Vijay ummeda

Its Showing Fine In My Window May be  You've Added It Twice
User-added image

Please Mark it As Best Answer If It Helps
Thank You!
This was selected as the best answer
hs dsd 10hs dsd 10
I'm doing "Add Styles and Data to a Lightning Web Component" module of the "Lightning Web Components Basics" path.
At the same time as completing this module I'm going through an error as "Cannot find Lightning Component Bundle LWC-Basics-Bike-Selector-Trailhead bike (https://bikerwhizz.com/) program."