@Rahulbaran
Posted
Hi Shivam,π I am Rahul.
Some points which I am written here after watching your code:-
-
You don't need to copy the data from
data.json
. You should learn about XMLHttpRequest API or Fetch API to handle thejson
data. -
Instead of using
querySelector
method to select html elements(tags) individually usequerySelectorAll
method, Read here for more info. You can also checkout my code about the same project. -
Use
rem
orem
instead ofpx
to get more controls on over your site responsiveness.
That's all from my side, Happy Codingππ¨βπ»
Marked as helpful