skip to Main Content

Reactjs – How do I .map() over JSON data within multiple levels of array that I receive from end point?

I am trying to display weather api data from: (https://www.weatherapi.com/api-explorer.aspx#forecast) import Image from "next/image" interface Hour { time_epoch: number time: string temp_c: number temp_f: number is_day: number wind_mph: number wind_kph: number wind_degree: number wind_dir: string pressure_mb: number pressure_in: number precip_mm:…

VIEW QUESTION

Html – Trying to resolve justify position in flex div

I have an issue which happend frequently. here's my code: <div className="flex flex-col w-full mb-3"> <div className="flex flex-row w-full"> { Vege && <p className="mr-1 text-sm leading-6 text-green-500">{Vege ? "VÉGÉ • " : ""}</p> } <p className="font-bold">{Titre}</p> <p className="justify-end">{Prix} €</p> </div>…

VIEW QUESTION
Back To Top
Search