back to all posts

Weather Card Using HTML and CSS

by Jitendra Kumar / August 26th, 2021

#beginners #css #webdev

In this blog we will build beautiful Weather Card Using html and Css.

First create folder in our computer drive.

Weather SiteWeather Site

Next write click on folder and click on Open with VsCode. So our project will open in Vs Code Editor. Create html file or css file.Click on plus icon so that we can create our html or css file.

Weather SiteWeather Site

Next we link css file in html file using link tag and also google font link in html.

Weather SiteWeather Site

Next we write html code in html file.

Weather SiteWeather Site

Next we desgin our html page using CSS.using css we display in background image in body.and we are designing our card div using .card class.

Weather SiteWeather Site

Next right click on html file and click on open with live server.so our page will display automatically in our system browser.

Weather SiteWeather Site

Next go to browser our page will look like below.

Weather SiteWeather Site

Next we will control image width and height using Css.and heading also.

Weather SiteWeather Site

Next go to browser and refresh our page.page will look like below.

Weather SiteWeather Site

Next we will design our container and details of weather using Css.

Weather SiteWeather Site

Next go to browser and refresh our page.so weather Card has completed.

Weather SiteWeather Site

You can download source code form this github repository.

Jitendra Kumar