如何添加团队成员
将图像文件与HTML文件保存在同一目录中。
我hr内wrapper股利。 hr每一个图像hr 。 请在hr标签下放置图片。
请将该类写为profileN 。 (例如,对于第二张图片,例如profile2 )
然后创建一个div并将infoN hide在该类中。 (与图片相同,如果是第二个配置文件,则info2 hide像这样info2 hide )
然后,在每个h5 p标签上输入名称和描述。
最后,放置hr标签。
转到profile.js和const infoN = document.querySelector('.infoN'); 和const imgN = document.querySelector('.profileN); 请输入在HTML中添加与图像数量一样多的类。
我制作了img.addEventListener('click',()=>{复制与
评论0
最新资源