Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Weather app using fetch

DEV Community·Athithya Sivasankarar·20 days ago
#0gzEaVCQ
#api#beginners#javascript#webdev#center#const
Reading 0:00
15s threshold

<! doctype html > < html lang = " en " > < head > < meta charset = " UTF-8 " /> < meta name = " viewport " content = " width=device-width, initial-scale=1.0 " /> < title > Weather App < /title > < /head > < style > body { display : flex ; justify - content : center ; align - items : center ; margin : 0 ; height : 100 vh ; background - color : lightblue ; font - family : Arial ; } # container { border : 1 px solid black ; display : flex ; flex - direction : column ; justify - content : center ; align - items : center ; padding : 30 px ; border - radius : 10 px ; background - color : white ; /* text-align: center; */ box - shadow : 0 px 0 px 10 px gray ; } # input_btn { justify - content : center ; align - items : center ; padding : 20 px ; margin : 20 px ; width : 250 px ; font - size : 16 px ; } button { padding : 10 px 20 px ; font - size : 16 px ; cursor : pointer ; border : none ; background - color : blue ; color : white ; border - radius : 5 px ; }…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More