8.3 day bug

bug1

文件名字写错了,找了半天bug原因

freecodecamp的致敬页的测试验证不通过bug

已经写了display: block;和max-width: 100% 以及通过margin: 0 auto;居中,可是却通不过验证

问了通义千问

通义帮我修改后的html代码为

html 复制代码
<!DOCTYPE html>
2<html lang="en">
3  <head>
4    <link href="styles.css" rel="stylesheet">
5  </head>
6  <body>
7    <main id="main">
8      <h1 id="title">R. Norman Borlaug</h1>
9      <div id="img-div">
10        <img id="image" src="https://cdn.freecodecamp.org/testable-projects-fcc/images/tribute-page-main-image.jpg" />
11        <div id="img-caption">
12          <p>Dr. Norman Borlaug, third from the left, trains biologists in Mexico
13            on how to increase wheat yields - part of his life-long war on hunger.</p>
14        </div>
15      </div>
16      <div id="tribute-info">
17        <ul>
18          <li><strong>1914</strong> - Born in Cresco, Iowa</li>
19          <li>
20            <strong>1933</strong> - Leaves his family's farm to attend the
21            University of Minnesota, thanks to a Depression era program known as
22            the "National Youth Administration"
23          </li>
24          <li>
25            <strong>1935</strong> - Has to stop school and save up more money.
26            Works in the Civilian Conservation Corps, helping starving
27            Americans. "I saw how food changed them", he said. "All of this left
28            scars on me."
29          </li>
30          <li>
31            <strong>1937</strong> - Finishes university and takes a job in the
32            US Forestry Service
33          </li>
34        </ul>
35      </div>
36      <a target="_blank" id="tribute-link" href="https://en.wikipedia.org/wiki/Norman_Borlaug">
37        Learn more about Norman Borlaug
38      </a>
39    </main>
40  </body>
41</html>

复制粘贴进去就通过了

问了通义千问原因,好家伙,原来我代码的文件名写错了,sytles.css应该是styles.css才是对的,得,无语凝噎

bug2

无脑bug,单纯没记住

bug3

语文理解问题,字没看准,答错了要求

bug4

不理解题意,根源是不理解标签含义

本来以为是翻译的锅,换成了原版英文,但确实是"set to Liabilities" 百度没结果,全文复制问通义千问,搞懂了,原来caption不包含thead和tbody,<caption> 元素用于为 <table>(表格)提供一个标题。

bug5

没记住,使元素具有粘性使用position:sticky;

相关推荐
jiayi_19991 天前
[bug] unsupported GNU version! gcc versions later than 12 are not supported!
服务器·bug·gnu
管二狗赶快去工作!2 天前
体系结构论文(九十三):LLM-Aided Compilation for Tensor Accelerators
人工智能·语言模型·自然语言处理·bug·体系结构
查古穆2 天前
LLM的“小bug”:聊聊幻觉是什么,以及如何有效规避免
人工智能·bug
程序员 沐阳2 天前
Git 二分法精准定位 Bug:从原理到实战,让调试效率起飞
git·elasticsearch·bug
软泡芙2 天前
【Bug】ReactiveUI WPF绑定中依赖属性不更新的问题分析与解决方案
java·bug·wpf
Yiyi_Coding3 天前
BUG列表:如何定位线上 OOM ?
java·linux·bug
csdn_aspnet5 天前
Git二分法精准定位Bug,分享用git bisect快速锁定引入缺陷的提交,提升调试效率
git·bug·二分查找
R6bandito_5 天前
自实现FLASH读取函数中的隐式类型转换bug踩坑记录
c语言·开发语言·经验分享·stm32·单片机·mcu·bug
奶茶精Gaaa5 天前
精彩bug--连续接受消息快速点击聊天页出现消息重叠
bug
奶茶精Gaaa5 天前
精彩bug--带图片+文字消息打开图片显示格式损坏
bug