+ 5
Check this screenshot of a challenge question
Is this answer correct? https://www.dropbox.com/s/w2f53pkxl5mdcon/Screenshot_2017-07-06-23-26-38-948_com.sololearn.png?dl=0
6 Respostas
+ 4
yes, but the question is which one is NOT valid.
+ 3
1. yes because you first open <div> then <a>, but then first close the <div>. I mean <div><a></div></a> it should be <div><a></a></div>
2. On the other hand in the second answer you have a <div> in an <a> which is also considered bad practice.
+ 1
Yes, that shows you the correct answer. Not the answer you chose.
+ 1
oops 😅😅 am so positive that i missed it.. 😂😂 sorry
0
look the answer it is not nested properly..
div tag is closed first and then the <a> tag
0
@Nikolay in that case the very first option is correct. right?