FreeCodeCampChina / freecodecamp.cn

FCC China open source codebase and curriculum. Learn to code and help nonprofits.

Home Page:https://fcc.asia/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

重置写了好几次还是通不过

Anastasia1596 opened this issue · comments

Challenge Quoting Strings with Single Quotes has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

//var myStr = "<a href=\"http://www.example.com\" target=\"_blank\">Link</a>";

var myStr='<a href = "http://www.example.com" target="_blank">Link</a>';
  1. 你应该在原字符串上直接修改
  2. 你不应该在 href 后面的等号两边加空格